Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeeWise9/Segmentation-Based-Surface-Defect-Detection
/ functions
Functions
29 in github.com/LeeWise9/Segmentation-Based-Surface-Defect-Detection
⨍
Functions
29
◇
Types & classes
0
↓ 16 callers
Function
conv
(x, n_kernel, s_kernel, name_id, training=True, bn=True)
train_model_up.py:84
↓ 13 callers
Function
conv
(x, n_kernel, s_kernel, name_id, training=True, bn=True)
train_model.py:83
↓ 5 callers
Function
array_img_reshape
(array, target_shape)
test_model.py:17
↓ 5 callers
Function
array_img_reshape
(array, target_shape)
test_model_up.py:17
↓ 4 callers
Function
data_aug_generator
通过数据增强制造更多样本
data_manager.py:75
↓ 4 callers
Function
depart
(sort_list)
data_manager.py:42
↓ 2 callers
Function
augmentation_img
图像增强(旋转/镜像翻转/错位缩放/亮度调整/噪声)
data_manager.py:47
↓ 2 callers
Function
batch_generater
(data_path, data_list, batch_size, shape, n_label)
train_model_up.py:46
↓ 2 callers
Function
batch_generater
(data_path, data_list, batch_size, shape, n_label)
train_model.py:45
↓ 2 callers
Function
data_manager
构建数据管理器 返回:分类、数据、标签
data_manager.py:14
↓ 2 callers
Function
plot_result
(sort_list_i, result, delta_h, target_size)
test_model.py:41
↓ 2 callers
Function
plot_result
(sort_list_i, result, delta_h, target_size)
test_model_up.py:41
↓ 1 callers
Function
array_img_reshape
(array, target_shape)
predict_up.py:29
↓ 1 callers
Function
array_img_reshape
array图像缩放,要求三通道
train_model.py:40
↓ 1 callers
Function
build_model
(input_shape, n_label)
train_model.py:90
↓ 1 callers
Function
build_model_up
(input_shape, n_label)
train_model_up.py:92
↓ 1 callers
Function
img_dilating
图像膨胀
train_model.py:33
↓ 1 callers
Function
load_model_from_json
(model_path, model_name)
test_model.py:83
↓ 1 callers
Function
load_model_from_json
(model_path, model_name)
predict_up.py:19
↓ 1 callers
Function
load_model_from_json
(model_path, model_name)
test_model_up.py:83
↓ 1 callers
Function
preprocess
(img, input_size)
predict_up.py:43
↓ 1 callers
Function
preprocess_img
加载图片,切分,归一化 输出:子图集,最后一张子图的高度
test_model.py:23
↓ 1 callers
Function
preprocess_img
加载图片,切分,归一化 输出:子图集,最后一张子图的高度
test_model_up.py:23
↓ 1 callers
Function
process_output
(result, shape, savepath, show_result=True)
predict_up.py:51
↓ 1 callers
Function
show_result
(img_id, input_shape)
train_model_up.py:154
↓ 1 callers
Function
show_result
(img_id)
train_model.py:130
Function
array_img_reshape
array图像缩放,要求三通道
train_model_up.py:41
Function
img_dilating
图像膨胀
train_model_up.py:34
Function
img_dilating
图像腐蚀
predict_up.py:36