MCPcopy Create free account

hub / github.com/Shank2358/TS-Conv / functions

Functions408 in github.com/Shank2358/TS-Conv

↓ 57 callersMethodmax
(self)
utils/mics.py:72
↓ 54 callersFunctionprint
(*args, **kwargs)
utils/mics.py:369
↓ 30 callersMethodto
(self, device)
utils/mics.py:288
↓ 9 callersMethod__parse_annotation
(self, annotation)
datasetsv2.py:174
↓ 9 callersMethod__parse_annotation
(self, annotation)
dataloadR/datasetsv2.py:90
↓ 9 callersFunction_resnet
( arch: str, block: Type[Union[BasicBlock, Bottleneck]], layers: List[int], pretrained: bool,
model/backbones/model_resnet.py:284
↓ 9 callersMethodbackward
(ctx, grad_output)
lib/DCNv2/dcn_v2.py:46
↓ 6 callersMethod__init__
( self, in_channels, out_channels, kernel_size, stride, paddin
lib/DCNv2/dcn_v2_amp.py:401
↓ 5 callersMethod__init__
(self, depth=512)
model/layers/multiscale_fusion_blocks.py:7
↓ 5 callersMethod__init__
(self, channel_in, channel_out, alpha=0.5, sigma=4, stride=1, padding=1)
model/layers/np_attention_blocks.py:36
↓ 5 callersMethodupdate
(self, **kwargs)
utils/mics.py:163
↓ 5 callersFunctionxywh2xyxy
(x)
utils/utils_basic.py:30
↓ 4 callersMethod__init__
(self, c_in, num_experts)
model/layers/convolutions.py:108
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
model/backbones/model_resnet.py:222
↓ 4 callersMethodget_log
(self)
utils/log.py:44
↓ 3 callersMethod__cal_loss
(self, p1, p1_d, p2, p2_d, label, stride, epoch, iter)
model/loss/loss.py:83
↓ 3 callersMethod__init__
(self, in_channels, out_channels, kernel_size, stride, padding, dilation=1,
lib/DCNv2/dcn_v2_onnx.py:127
↓ 3 callersMethod__init__
( self, in_channels, out_channels, kernel_size, stride, paddin
lib/DCNv2/dcn_v2.py:148
↓ 3 callersMethod__init__
(self, extract_list, weight_path=None, width_mult=1.)
model/backbones/mobilenetv2.py:162
↓ 3 callersMethod__init__
(self, channel, reduction=16)
model/layers/attention_blocks.py:12
↓ 3 callersMethod__init__
(self, filters_in, n=1, activate="Swish")
model/layers/conv_blocks.py:20
↓ 3 callersMethod__predict
(self, img, test_shape, valid_scale)
evalR/eval.py:177
↓ 3 callersMethod__predict
(self, img, test_shape, valid_scale)
evalR/evaluatorTSplot.py:130
↓ 3 callersMethod__predict
(self, img, test_shape, valid_scale)
evalR/evaluatorTS.py:129
↓ 3 callersMethod__predict
(self, img, test_shape, valid_scale)
evalR/evaluatorGGHL.py:131
↓ 3 callersMethod__predict
(self, img, test_shape, valid_scale)
evalR/evaluator_demo.py:96
↓ 3 callersFunction_make_divisible
This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen
model/backbones/mobilenetv2.py:10
↓ 3 callersFunction_run
(command)
utils/mics.py:251
↓ 3 callersFunctionconv1x1
1x1 convolution
model/backbones/model_resnet.py:52
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
model/backbones/model_resnet.py:38
↓ 3 callersMethodgenerate_label
(self, k, gt_tensor, c_x_r, c_y_r, len_w, len_h, box_w, box_h, angle, ymin, xmax, ymax,
datasetsv2.py:193
↓ 3 callersMethodgenerate_label
(self, k, gt_tensor, c_x_r, c_y_r, len_w, len_h, box_w, box_h, angle, ymin, xmax, ymax,
dataloadR/datasetsv2.py:109
↓ 3 callersFunctionis_dist_avail_and_initialized
()
utils/mics.py:377
↓ 3 callersFunctionpy_cpu_nms_poly_fast
任意四点poly nms.取出nms后的边框的索引 @param dets: shape(detection_num, [poly]) 原始图像中的检测出的目标数量 @param scores: shape(detection_num, 1) @param thre
utils/utils_basic.py:528
↓ 3 callersMethodstep
(self, t)
utils/cosine_lr_scheduler.py:21
↓ 3 callersMethodunfold
(self, x, kernel_size=7, dilation=1)
model/loss/loss.py:71
↓ 2 callersMethodAPs_voc
(self, multi_test=False, flip_test=False)
evalR/eval.py:29
↓ 2 callersMethod__init__
( self, block: Type[Union[BasicBlock, Bottleneck]], layers: List[int], num_cla
model/backbones/model_resnet.py:165
↓ 2 callersMethod__init__
(self, name: str, pretrained: bool, dilation: bool, norm_type: str)
model/backbones/resnet.py:87
↓ 2 callersMethod__init__
(self, filters_in)
model/layers/msr_blocks.py:5
↓ 2 callersMethod__init__
(self, fileters_in, fileters_in_ratio = 1)
model/neck/neck.py:32
↓ 2 callersMethod__init__
(self)
model/loss/loss.py:27
↓ 2 callersFunctionde_parallel
(model)
utils/utils_basic.py:637
↓ 2 callersFunctiondiou_xyxy_numpy
(boxes1, boxes2)
utils/utils_basic.py:73
↓ 2 callersFunctiondmcn_im2col_bilinear_cpu
lib/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp:23
↓ 2 callersFunctiondraw_mask_on_image_array
(image, mask, color='red', alpha=0.4)
utils/visualize.py:171
↓ 2 callersFunctionget_world_size
()
utils/mics.py:385
↓ 2 callersMethodkernel
(self, t, p, g, b, c, h, w)
model/layers/attention_blocks.py:156
↓ 2 callersMethodkernel
(self, t, p, g, b, c, h, w)
model/layers/np_attention_blocks.py:122
↓ 2 callersMethodkernel
(self, t, p, g, b, c, h, w)
model/layers/np_attention_blocks.py:186
↓ 2 callersMethodkernel
(self, t, p, g, b, c, h, w)
model/layers/np_attention_blocks.py:249
↓ 2 callersFunctionmodulated_deformable_im2col_cpu
lib/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp:327
↓ 2 callersFunctionrand_scale
calculate random scaling factor Args: s (float): range of the random scale. Returns: random scaling factor (float) whose
utils/utils_coco.py:190
↓ 2 callersMethodupdate
(self, value, n=1)
utils/mics.py:39
↓ 1 callersFunctionResnet101
`Resnet50` is a function that returns a `Backbone` object with the following parameters: - `name`: "resnet50" - `pretrained`: False - `di
model/backbones/resnet.py:141
↓ 1 callersMethodTest_single_img
(self, img_id)
evalR/evaluator_demo.py:36
↓ 1 callersMethod__Mosaic_Load
(self, item, is_mix=False)
datasetsv2.py:24
↓ 1 callersMethod__Mosaic_Load
(self, item, is_mix=False)
dataloadR/datasetsv2.py:24
↓ 1 callersMethod__calc_APs
计算每个类别的ap值 :param iou_thresh: :param use_07_metric: :return:dict{cls:ap}
evalR/eval.py:298
↓ 1 callersMethod__calc_APs
(self, iou_thresh=0.5, use_07_metric=False)
evalR/evaluatorTSplot.py:208
↓ 1 callersMethod__calc_APs
(self, iou_thresh=0.5, use_07_metric=False)
evalR/evaluatorTS.py:207
↓ 1 callersMethod__calc_APs
(self, iou_thresh=0.5, use_07_metric=False)
evalR/evaluatorGGHL.py:210
↓ 1 callersMethod__convert_pred
预测框进行过滤,去除尺度不合理的框
evalR/eval.py:202
↓ 1 callersMethod__convert_pred
(self, pred_bbox, test_input_size, org_img_shape, valid_scale)
evalR/evaluator_demo.py:114
↓ 1 callersMethod__creat_label
(self, label_lists=[])
datasetsv2.py:270
↓ 1 callersMethod__creat_label
(self, label_lists=[])
dataloadR/datasetsv2.py:186
↓ 1 callersMethod__decode
(self, p, offset_vertex)
model/head/head.py:37
↓ 1 callersMethod__decode
(self, out1, out2)
model/head/head.py:221
↓ 1 callersMethod__get_img_tensor
(self, img, test_shape)
evalR/eval.py:197
↓ 1 callersMethod__get_img_tensor
(self, img, test_shape)
evalR/evaluatorTSplot.py:144
↓ 1 callersMethod__get_img_tensor
(self, img, test_shape)
evalR/evaluatorTS.py:143
↓ 1 callersMethod__get_img_tensor
(self, img, test_shape)
evalR/evaluatorGGHL.py:146
↓ 1 callersMethod__get_img_tensor
(self, img, test_shape)
evalR/evaluator_demo.py:110
↓ 1 callersMethod__init__
(self, weight_path, resume, gpu_id)
trainv2.py:67
↓ 1 callersMethod__init__
(self, filters_in, stride)
model/head/head.py:11
↓ 1 callersMethod__init_weights
Note :nn.Conv2d nn.BatchNorm2d'initing modes are uniform
model/TSConv.py:57
↓ 1 callersMethod__iter__
(self)
trainv2.py:39
↓ 1 callersMethod__load_annotations
(self, anno_name)
datasetsv2.py:167
↓ 1 callersMethod__load_annotations
(self, anno_name)
dataloadR/datasetsv2.py:83
↓ 1 callersMethod__load_model_weights
(self, weight_path)
test.py:21
↓ 1 callersMethod__load_model_weights
(self, weight_path, resume)
trainv2.py:165
↓ 1 callersMethod__load_model_weights
(self, weight_path)
demo.py:32
↓ 1 callersMethod__load_optimizer_weights
(self, weight_path, resume)
trainv2.py:187
↓ 1 callersMethod__save_model_weights
(self, epoch, mAP)
trainv2.py:200
↓ 1 callersMethod_forward_impl
(self, x: Tensor)
model/backbones/model_resnet.py:262
↓ 1 callersMethod_initialize_weights
(self)
model/backbones/mobilenetv2.py:119
↓ 1 callersFunction_max_by_axis
(the_list)
utils/mics.py:274
↓ 1 callersFunction_onnx_nested_tensor_from_tensor_list
(tensor_list: List[Tensor])
utils/mics.py:334
↓ 1 callersFunctionbilinear_interp_cpu
lib/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:31
↓ 1 callersFunctioncalcoverlaps
(BBGT_keep, bb)
evalR/voc_eval.py:207
↓ 1 callersFunctioncheck_gradient_dconv
()
lib/DCNv2/testcpu.py:69
↓ 1 callersFunctioncheck_gradient_dpooling
()
lib/DCNv2/testcpu.py:134
↓ 1 callersFunctioncheck_pooling_zero_offset
()
lib/DCNv2/testcpu.py:100
↓ 1 callersFunctioncheck_zero_offset
()
lib/DCNv2/testcpu.py:32
↓ 1 callersFunctionconv_1x1_bn
(inp, oup)
model/backbones/mobilenetv2.py:37
↓ 1 callersFunctionconv_3x3_bn
(inp, oup, stride)
model/backbones/mobilenetv2.py:29
↓ 1 callersFunctionconv_identify
(weight, bias)
lib/DCNv2/testcpu.py:20
↓ 1 callersFunctionconv_identify
(weight, bias)
lib/DCNv2/testcuda.py:20
↓ 1 callersMethodconvert_pred
(self, pred_bbox, test_input_size, org_img_shape, valid_scale)
evalR/evaluatorTSplot.py:148
↓ 1 callersMethodconvert_pred
(self, pred_bbox, test_input_size, org_img_shape, valid_scale)
evalR/evaluatorTS.py:147
next →1–100 of 408, ranked by callers