MCPcopy Create free account

hub / github.com/JackEasson/SLPNet_pytorch / functions

Functions218 in github.com/JackEasson/SLPNet_pytorch

↓ 20 callersFunctionconv_1x1_bn
(inp, oup, if_bias=False)
model/basic_modules.py:21
↓ 14 callersFunctionconv_1x1_bn
(inp, oup, if_bias=False)
SLPNet_Demo/model/basic_modules.py:21
↓ 7 callersMethod__init__
(self, chn_in, shrink_ratio)
model/basic_modules.py:227
↓ 7 callersMethod__init__
(self, chn_in, shrink_ratio)
SLPNet_Demo/model/basic_modules.py:227
↓ 6 callersFunctionread_filenames
(file_path, extension)
data/data_process.py:13
↓ 5 callersFunctionconv_bn
(inp, oup, stride, if_bias=False)
model/basic_modules.py:12
↓ 4 callersMethod__init__
(self, input_size=512)
model/SSNet_modules.py:122
↓ 4 callersMethod__len__
(self)
load_data.py:172
↓ 4 callersFunctionconv_bn
(inp, oup, stride, if_bias=False)
SLPNet_Demo/model/basic_modules.py:12
↓ 4 callersFunctionget_spatial_idx
:param corner_xy: torch size(8) :param W: detection map size :param H: as above :param scale_idx: corner size to distribute
module/det_part/detection_head.py:54
↓ 4 callersFunctiononline_distribute_ctc_targets
:param obj_num_list: list(B), each image in batch, how many lps have detected. :param coordinates_tensor: tensor size(lps_num, 8) :par
model/detection_recognition_pipeline.py:107
↓ 3 callersFunctiondetection_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param corners_list_512: list(B), te
module/det_part/detection_head.py:94
↓ 3 callersFunctiongauss_2d
(x1, x2, u1, u2, d1, d2)
module/det_part/PostProcessing.py:60
↓ 3 callersFunctiongauss_2d
(x1, x2, u1, u2, d1, d2)
SLPNet_Demo/utils/PostProcessing.py:60
↓ 3 callersFunctiontrans2cuda_list
(tensor_list)
load_data.py:36
↓ 2 callersMethod__init__
(self)
module/det_part/detection_head.py:311
↓ 2 callersMethod__init__
(self, input_size=512, width_mult=1.)
model/other_models/shufflenet.py:173
↓ 2 callersMethod__init__
(self, input_size=512)
SLPNet_Demo/model/SSNet_modules.py:123
↓ 2 callersMethod_concat
(x, out)
model/basic_modules.py:209
↓ 2 callersMethod_concat
(x, out)
model/other_models/shufflenet.py:111
↓ 2 callersMethod_concat
(x, out)
SLPNet_Demo/model/basic_modules.py:209
↓ 2 callersFunctionclac_gauss_score_multi
:param coordinate_out: size(8) :param coordinate_target: size(N, 8) :param delta_ratio :return:
module/det_part/PostProcessing.py:243
↓ 2 callersFunctionclac_gauss_score_multi
:param coordinate_out: size(8) :param coordinate_target: size(N, 8) :param delta_ratio :return:
SLPNet_Demo/utils/PostProcessing.py:243
↓ 2 callersFunctioncoord_trans2real_batch
:param reg_map: size(B, 32, 32, 8) :param stage_lvl: scale ratio :param S0: 16 from fovea box :return:
module/det_part/detection_head.py:12
↓ 2 callersFunctioncv2ImgAddText
(img, text, pos, textColor=(255, 0, 0), textSize=22)
SLPNet_Demo/img_process.py:108
↓ 2 callersFunctioncv_imread
(filepath)
load_data.py:46
↓ 2 callersFunctioncv_imread
(filepath)
module/det_part/PostProcessing.py:9
↓ 2 callersFunctioncv_imread
(filepath)
SLPNet_Demo/utils/PostProcessing.py:9
↓ 2 callersMethodgauss_2d
(x1, x2, u1, u2, d1, d2)
module/det_part/detection_head.py:315
↓ 2 callersMethodgen_whwh_maps
:param coordinate_maps: size(B, H, W, 8) :param delta :return:
module/det_part/detection_head.py:177
↓ 2 callersMethodgen_whwh_maps
:param coordinate_maps: size(B, H, W, 8) :param delta :return:
SLPNet_Demo/utils/detection_head.py:153
↓ 2 callersMethodrefreshShow
(self)
SLPNet_Demo/main.py:94
↓ 2 callersFunctionstep_f
(x)
util/math_function.py:5
↓ 1 callersMethod__init__
(self, model='shufflenet', mode='small')
SSNet_framework.py:40
↓ 1 callersMethod_data_init
(self)
load_data.py:137
↓ 1 callersFunctionadjust_lr
调整学习率的值
train.py:49
↓ 1 callersFunctioncalc_centers
:param corners: tensor(N, 8), eight corner coordinate, clockwise, or size(B, H, W, 8) :return: centers tensor(N, 2)
module/det_part/GTProcessing.py:7
↓ 1 callersFunctioncalc_centers
:param corners: tensor(N, 8), eight corner coordinate, clockwise, or size(B, H, W, 8) :return: centers tensor(N, 2)
SLPNet_Demo/utils/GTProcessing.py:7
↓ 1 callersFunctionchannel_shuffle
(x, groups)
model/basic_modules.py:30
↓ 1 callersFunctionchannel_shuffle
(x, groups)
model/other_models/shufflenet.py:35
↓ 1 callersFunctionchannel_shuffle
(x, groups)
SLPNet_Demo/model/basic_modules.py:30
↓ 1 callersFunctionclac_gauss_score_eval
:param coordinate_out: size(8) :param coordinate_target: same as above :param delta_ratio :return:
module/det_part/PostProcessing.py:224
↓ 1 callersFunctionclac_gauss_score_eval
:param coordinate_out: size(8) :param coordinate_target: same as above :param delta_ratio :return:
SLPNet_Demo/utils/PostProcessing.py:224
↓ 1 callersFunctionconv_1x1_bn
(inp, oup)
model/other_models/shufflenet.py:27
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
model/other_models/shufflenet.py:18
↓ 1 callersFunctioncoord_trans2real_batch
:param reg_map: size(B, 32, 32, 8) :param stage_lvl: scale ratio :param S0: 16 from fovea box :return:
SLPNet_Demo/utils/detection_head.py:11
↓ 1 callersFunctioncorner2bbox
:param corners_list: [tensor, tensor ...] :return: list of box, float, not tensor
module/det_part/PostProcessing.py:175
↓ 1 callersFunctioncorner2bbox
:param corners_list: [tensor, tensor ...] :return: list of box, float, not tensor
SLPNet_Demo/utils/PostProcessing.py:175
↓ 1 callersFunctioncorner2bboxSingle
:param corners: size(8) :return: size(4)
module/det_part/GTProcessing.py:116
↓ 1 callersFunctioncorner2bboxSingle
:param corners: size(8) :return: size(4)
SLPNet_Demo/utils/GTProcessing.py:116
↓ 1 callersFunctioncorner2bbox_int
:param corners_list: [tensor, tensor ...] :return: list of box, int, not tensor
module/det_part/GTProcessing.py:76
↓ 1 callersFunctioncorner2bbox_int
:param corners_list: [tensor, tensor ...] :return: list of box, int, not tensor
SLPNet_Demo/utils/GTProcessing.py:76
↓ 1 callersFunctioncreate_det_reg_txt
()
data/data_process.py:47
↓ 1 callersFunctioncv_imread
(filepath)
test_demo.py:25
↓ 1 callersFunctiondefault_image_loader
返回image的tensor
test_demo.py:42
↓ 1 callersFunctiondefault_image_preprocess
返回image的tensor
SLPNet_Demo/img_process.py:26
↓ 1 callersFunctiondetection_analysis
:param outputs: from detection network, size(B, H, W, C) :param top_k: select top k corners :param threshold: :param out_size: de
module/det_part/PostProcessing.py:19
↓ 1 callersFunctiondetection_analysis
:param outputs: from detection network, size(B, H, W, C) :param top_k: select top k corners :param threshold: :param out_size: de
SLPNet_Demo/utils/PostProcessing.py:19
↓ 1 callersFunctiondetection_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param corners_list_512: list(B), te
SLPNet_Demo/utils/detection_head.py:53
↓ 1 callersFunctioneval
(args, model)
eval.py:29
↓ 1 callersMethodfocal_for_gauss
:param sample_target: positive and negative sample, size(B, H, W) :param gauss_out: score, size(B, H, W, 4) :param gauss_t
module/det_part/detection_head.py:196
↓ 1 callersMethodfocal_for_gauss
:param sample_target: positive and negative sample, size(B, H, W) :param gauss_out: score, size(B, H, W, 4) :param gauss_t
module/det_part/detection_head.py:357
↓ 1 callersMethodfocal_for_gauss
:param sample_target: positive and negative sample, size(B, H, W) :param gauss_out: score, size(B, H, W, 4) :param gauss_t
module/det_part/detection_head.py:453
↓ 1 callersMethodfocal_for_gauss
:param sample_target: positive and negative sample, size(B, H, W) :param gauss_out: score, size(B, H, W, 4) :param gauss_t
SLPNet_Demo/utils/detection_head.py:172
↓ 1 callersMethodgauss_2d
(x1, x2, u1, u2, d1, d2)
module/det_part/detection_head.py:154
↓ 1 callersMethodgauss_2d
(x1, x2, u1, u2, d1, d2)
SLPNet_Demo/utils/detection_head.py:130
↓ 1 callersMethodgen_distance_maps
:param out_centers: size(B, H, W, 2) :param target_centers: size(B, H, W, 2) :param out_bbox: size(B, H, W, 4) :p
module/det_part/detection_head.py:160
↓ 1 callersMethodgen_distance_maps
:param out_centers: size(B, H, W, 2) :param target_centers: size(B, H, W, 2) :param out_bbox: size(B, H, W, 4) :p
SLPNet_Demo/utils/detection_head.py:136
↓ 1 callersMethodgen_loss_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param coordinate_target: fr
module/det_part/detection_head.py:219
↓ 1 callersMethodgen_loss_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param coordinate_target: fr
module/det_part/detection_head.py:380
↓ 1 callersMethodgen_loss_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param coordinate_target: fr
module/det_part/detection_head.py:476
↓ 1 callersMethodgen_loss_target
:param output_maps: net output size(B, H, W, C) have transform to real coordinate (0-512) NOTICE !!!!! :param coordinate_target: fr
SLPNet_Demo/utils/detection_head.py:195
↓ 1 callersFunctionget_image_wh
(image_name)
load_data.py:76
↓ 1 callersFunctionhyperbola_cube_root
if x < 0: return -torch.pow(-x, alpha) else: return torch.pow(x, alpha)
util/math_function.py:21
↓ 1 callersFunctionimage_det_reg_process
(model, img_initial, img_resize_for_show)
SLPNet_Demo/img_process.py:52
↓ 1 callersMethodinitUI
(self)
SLPNet_Demo/main.py:29
↓ 1 callersFunctionload_my_state_dict
(model, state_dict)
train.py:475
↓ 1 callersFunctionmain
(args)
eval.py:146
↓ 1 callersFunctionmain
(args)
train.py:441
↓ 1 callersFunctionmodel_initial
()
SLPNet_Demo/img_process.py:37
↓ 1 callersFunctionnms_gauss
(corners, scores, threshold=0.2, delta_ratio=0.2)
module/det_part/PostProcessing.py:67
↓ 1 callersFunctionnms_gauss
(corners, scores, threshold=0.2, delta_ratio=0.2)
SLPNet_Demo/utils/PostProcessing.py:67
↓ 1 callersFunctiononline_distribute_ctc_targets
:param obj_num_list: list(B), each image in batch, how many lps have detected. :param coordinates_tensor: tensor size(lps_num, 8) :par
SLPNet_Demo/model/detection_recognition_pipeline.py:72
↓ 1 callersFunctionperspective_grid_tensor
:param perspectiveMatrix: from cv2.getPerspectiveTransform, tensor :param target_size: (w, h) :return:
module/det_part/perspective_transform.py:38
↓ 1 callersFunctionperspective_grid_tensor
:param perspectiveMatrix: from cv2.getPerspectiveTransform, tensor :param target_size: (w, h) :return:
SLPNet_Demo/utils/perspective_transform.py:35
↓ 1 callersFunctionread_filenames
(file_path, extension)
test_demo.py:30
↓ 1 callersFunctionread_filenames
(file_path, extension)
load_data.py:51
↓ 1 callersFunctionread_filenames
(label_path)
util/K_Means.py:19
↓ 1 callersFunctionresult_show
(img_for_show, per_img_coords, per_img_scores, lp_chars, det_size=(512, 512))
SLPNet_Demo/img_process.py:72
↓ 1 callersFunctionsave_checkpoint
(state, is_best, filenameCheckpoint, filenameBest)
train.py:434
↓ 1 callersFunctionscale_distribute
:param corners: tensor, size(8) from the same image, different areas. In the scope of input size (512). split criterion: form K_Means, 5365
module/det_part/GTProcessing.py:155
↓ 1 callersFunctionscale_distribute
:param corners: tensor, size(8) from the same image, different areas. In the scope of input size (512). split criterion: form K_Means, 5365
SLPNet_Demo/utils/GTProcessing.py:155
↓ 1 callersFunctionshufflenetv2
(width_mult=1.5)
model/other_models/shufflenet.py:234
↓ 1 callersFunctionsparse_tuple_for_ctc
(T_length, lengths)
train.py:18
↓ 1 callersMethodspatial_pool
(self, x)
model/basic_modules.py:238
↓ 1 callersMethodspatial_pool
(self, x)
SLPNet_Demo/model/basic_modules.py:238
↓ 1 callersFunctiontest_detection
(args)
test_demo.py:59
↓ 1 callersFunctiontrain
(args, model)
train.py:58
↓ 1 callersFunctiontrans_extension
:param filename: just a name without extension, not full path :param target_extension: :return:
load_data.py:64
↓ 1 callersFunctiontrans_lp_str2label
:param lp_str: like '皖A1J877' :return:
load_data.py:28
next →1–100 of 218, ranked by callers