MCPcopy Create free account

hub / github.com/LeeWise9/Segmentation-Based-Surface-Defect-Detection / functions

Functions29 in github.com/LeeWise9/Segmentation-Based-Surface-Defect-Detection

↓ 16 callersFunctionconv
(x, n_kernel, s_kernel, name_id, training=True, bn=True)
train_model_up.py:84
↓ 13 callersFunctionconv
(x, n_kernel, s_kernel, name_id, training=True, bn=True)
train_model.py:83
↓ 5 callersFunctionarray_img_reshape
(array, target_shape)
test_model.py:17
↓ 5 callersFunctionarray_img_reshape
(array, target_shape)
test_model_up.py:17
↓ 4 callersFunctiondata_aug_generator
通过数据增强制造更多样本
data_manager.py:75
↓ 4 callersFunctiondepart
(sort_list)
data_manager.py:42
↓ 2 callersFunctionaugmentation_img
图像增强(旋转/镜像翻转/错位缩放/亮度调整/噪声)
data_manager.py:47
↓ 2 callersFunctionbatch_generater
(data_path, data_list, batch_size, shape, n_label)
train_model_up.py:46
↓ 2 callersFunctionbatch_generater
(data_path, data_list, batch_size, shape, n_label)
train_model.py:45
↓ 2 callersFunctiondata_manager
构建数据管理器 返回:分类、数据、标签
data_manager.py:14
↓ 2 callersFunctionplot_result
(sort_list_i, result, delta_h, target_size)
test_model.py:41
↓ 2 callersFunctionplot_result
(sort_list_i, result, delta_h, target_size)
test_model_up.py:41
↓ 1 callersFunctionarray_img_reshape
(array, target_shape)
predict_up.py:29
↓ 1 callersFunctionarray_img_reshape
array图像缩放,要求三通道
train_model.py:40
↓ 1 callersFunctionbuild_model
(input_shape, n_label)
train_model.py:90
↓ 1 callersFunctionbuild_model_up
(input_shape, n_label)
train_model_up.py:92
↓ 1 callersFunctionimg_dilating
图像膨胀
train_model.py:33
↓ 1 callersFunctionload_model_from_json
(model_path, model_name)
test_model.py:83
↓ 1 callersFunctionload_model_from_json
(model_path, model_name)
predict_up.py:19
↓ 1 callersFunctionload_model_from_json
(model_path, model_name)
test_model_up.py:83
↓ 1 callersFunctionpreprocess
(img, input_size)
predict_up.py:43
↓ 1 callersFunctionpreprocess_img
加载图片,切分,归一化 输出:子图集,最后一张子图的高度
test_model.py:23
↓ 1 callersFunctionpreprocess_img
加载图片,切分,归一化 输出:子图集,最后一张子图的高度
test_model_up.py:23
↓ 1 callersFunctionprocess_output
(result, shape, savepath, show_result=True)
predict_up.py:51
↓ 1 callersFunctionshow_result
(img_id, input_shape)
train_model_up.py:154
↓ 1 callersFunctionshow_result
(img_id)
train_model.py:130
Functionarray_img_reshape
array图像缩放,要求三通道
train_model_up.py:41
Functionimg_dilating
图像膨胀
train_model_up.py:34
Functionimg_dilating
图像腐蚀
predict_up.py:36