MCPcopy Create free account

hub / github.com/aim-uofa/AdelaiDet / functions

Functions505 in github.com/aim-uofa/AdelaiDet

↓ 56 callersMethodto
(self, device: str)
adet/structures/beziers.py:32
↓ 40 callersMethodget
(self)
demo/predictor.py:219
↓ 11 callersFunctionget_layer_param
(model)
adet/utils/measures.py:35
↓ 9 callersFunctionreduce_sum
(tensor)
adet/utils/comm.py:8
↓ 8 callersMethoddecode
(self, rec)
adet/evaluation/text_evaluation_all.py:449
↓ 8 callersMethodoutput_shape
(self)
adet/modeling/backbone/vovnet.py:304
↓ 7 callersFunctionconv_with_kaiming_uniform
( norm=None, activation=None, use_deformable=False, use_sep=False)
adet/layers/conv_with_kaiming_uniform.py:8
↓ 7 callersFunctionsplit_name
(name)
adet/modeling/backbone/bifpn.py:18
↓ 6 callersFunctionvalidate_point_inside_bounds
(x,y,imWidth,imHeight)
adet/evaluation/rrc_evaluation_funcs_ic15.py:225
↓ 5 callersMethod__init__
(self, cfg, levels, channels, block=BasicBlock, residual_root=False)
adet/modeling/backbone/dla.py:234
↓ 5 callersFunctionget_cfg
Get a copy of the default config. Returns: a detectron2 CfgNode instance.
adet/config/config.py:4
↓ 5 callersFunctiontop_module
(in_channels, attn_len)
adet/modeling/fcpose/utils.py:53
↓ 4 callersMethod__init__
Args: input_ch(int) : the number of input channel out_features (list[str]): name of the layers whose outputs should
adet/modeling/backbone/vovnet.py:213
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, groups=1, norm_layer=None, filter_size=1)
adet/modeling/backbone/resnet_lpf.py:229
↓ 4 callersFunctionconv1x1
1x1 convolution
adet/modeling/backbone/resnet_lpf.py:58
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
adet/modeling/backbone/vovnet.py:67
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
adet/modeling/backbone/resnet_lpf.py:52
↓ 4 callersFunctionget_intersection
(pD,pG)
adet/evaluation/text_eval_script_ic15.py:125
↓ 4 callersFunctionget_intersection
(pD,pG)
adet/evaluation/text_eval_script.py:117
↓ 4 callersMethodput
(self, image)
demo/predictor.py:215
↓ 4 callersFunctionunfold_wo_center
(x, kernel_size, dilation)
adet/modeling/condinst/condinst.py:27
↓ 3 callersMethod__init__
Args: bottom_up (Backbone): module representing the bottom up subnetwork. Must be a subclass of :class:`Backbone`
adet/modeling/backbone/bifpn.py:286
↓ 3 callersMethod__init__
(self, conv_dim, roi_size)
adet/modeling/roi_heads/text_head.py:17
↓ 3 callersMethod__init__
(self, cfg, in_channels)
adet/modeling/roi_heads/attn_predictor.py:30
↓ 3 callersMethod__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
adet/modeling/fcos/fcos.py:47
↓ 3 callersFunctionaligned_bilinear
(tensor, factor)
adet/utils/comm.py:23
↓ 3 callersFunctiondice_coefficient
(x, target)
adet/modeling/condinst/dynamic_mask_head.py:51
↓ 3 callersFunctionml_nms
Performs non-maximum suppression on a boxlist, with scores specified in a boxlist field via score_field. Args: boxlist (dete
adet/layers/ml_nms.py:4
↓ 3 callersMethodpreprocess_image
Normalize, pad and batch the input images.
adet/modeling/solov2/solov2.py:148
↓ 3 callersFunctionreduce_mean
(tensor)
adet/utils/comm.py:17
↓ 3 callersMethodrun
(self)
demo/predictor.py:177
↓ 2 callersMethod__init__
(self, init_value=1.0)
adet/modeling/batext/batext.py:20
↓ 2 callersMethod__init__
(self, cfg, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_gr
adet/modeling/backbone/resnet_lpf.py:151
↓ 2 callersMethod__init__
(self, cfg)
adet/modeling/solov2/solov2.py:33
↓ 2 callersMethod__init__
(self, init_value=1.0)
adet/modeling/MEInst/MEInst.py:22
↓ 2 callersMethod_make_conv_level
(self, inplanes, planes, convs, stride=1, dilation=1)
adet/modeling/backbone/dla.py:288
↓ 2 callersFunctionassign_boxes_to_levels_by_metric
Map each box in `box_lists` to a feature map level index and return the assignment vector. Args: box_lists (list[detectron2.stru
adet/modeling/poolers.py:31
↓ 2 callersFunctionbuild_mnv2_backbone
Create a ResNet instance from config. Returns: ResNet: a :class:`ResNet` instance.
adet/modeling/backbone/mobilenet.py:139
↓ 2 callersFunctionbuild_vovnet_backbone
Create a VoVNet instance from config. Returns: VoVNet: a :class:`VoVNet` instance.
adet/modeling/backbone/vovnet.py:314
↓ 2 callersFunctioncompute_ap
(confList, matchList,numGtCare)
adet/evaluation/text_eval_script_ic15.py:131
↓ 2 callersFunctioncompute_ious
Args: pred: Nx4 predicted bounding boxes target: Nx4 target bounding boxes Both are in the form of FCOS prediction (l, t,
adet/utils/comm.py:64
↓ 2 callersFunctioncompute_locations
(h, w, stride, device)
adet/utils/comm.py:48
↓ 2 callersFunctiondecode_utf8
Returns a Unicode object on success, or None on failure
adet/evaluation/rrc_evaluation_funcs.py:80
↓ 2 callersMethoddecoder
Transform data back to its original space. In other words, return an input X_original whose transform would be X. Parameters
adet/modeling/MEInst/MaskEncoding.py:91
↓ 2 callersFunctiondetector_postprocess
In addition to the post processing of detectron2, we add scalign for bezier control points.
adet/modeling/one_stage_detector.py:11
↓ 2 callersMethoddraw_instance_predictions
(self, predictions)
adet/utils/visualizer.py:19
↓ 2 callersMethodevaluate_with_official_code
(self, result_path, gt_path)
adet/evaluation/text_evaluation_all.py:329
↓ 2 callersMethodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper` . Each item in the list contains the inpu
adet/modeling/one_stage_detector.py:76
↓ 2 callersFunctiongen_coco
(phase)
datasets/gen_coco_person.py:17
↓ 2 callersFunctionget_subnetworks_params
(attns, num_bases, channels)
adet/modeling/fcpose/fcpose_head.py:51
↓ 2 callersFunctionget_tl_line_values
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
adet/evaluation/rrc_evaluation_funcs_ic15.py:125
↓ 2 callersFunctionget_tl_line_values
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
adet/evaluation/rrc_evaluation_funcs.py:234
↓ 2 callersFunctionget_tl_line_values_gt
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
adet/evaluation/rrc_evaluation_funcs.py:148
↓ 2 callersFunctionimresize
Resize image to a given size. Args: img (ndarray): The input image. size (tuple[int]): Target size (w, h). return_scale (b
adet/modeling/solov2/utils.py:27
↓ 2 callersMethodinitHidden
(self, batch_size)
adet/modeling/roi_heads/attn_predictor.py:97
↓ 2 callersFunctioninverse_sigmoid
Apply the inverse sigmoid operation. y = -ln(1-x/x)
adet/modeling/MEInst/LME/utils.py:14
↓ 2 callersFunctionis_leaf
(model)
adet/utils/measures.py:25
↓ 2 callersMethodmask_heads_forward_with_coords
( self, mask_feats, mask_feat_stride, instances )
adet/modeling/condinst/dynamic_mask_head.py:155
↓ 2 callersMethodmerge_bases
(self, rois, coeffs, location_to_inds=None)
adet/modeling/blendmask/blender.py:92
↓ 2 callersFunctionoutput
(vis, fname)
tools/visualize_data.py:60
↓ 2 callersMethodoverlay_instances
(self, beziers, recs, scores, alpha=0.5)
adet/utils/visualizer.py:73
↓ 2 callersFunctionpolygon_from_points
Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
adet/evaluation/text_eval_script_ic15.py:72
↓ 2 callersFunctionpolygon_from_points
Returns a Polygon object to use with the Polygon2 class from a list of 8 points: x1,y1,x2,y2,x3,y3,x4,y4
adet/evaluation/text_eval_script.py:74
↓ 2 callersMethodpredict_proposals
(self, top_feats)
adet/modeling/batext/batext_outputs.py:401
↓ 2 callersMethodpredict_proposals
( self, logits_pred, reg_pred, ctrness_pred, locations, image_sizes, top_feats=None
adet/modeling/fcos/fcos_outputs.py:405
↓ 2 callersFunctionrectangle_to_polygon
(rect)
adet/evaluation/text_eval_script_ic15.py:95
↓ 2 callersFunctionrectangle_to_polygon
(rect)
adet/evaluation/text_eval_script.py:87
↓ 2 callersFunctionrename_resnet_param_names
(ckpt_state_dict)
tools/rename_blendmask.py:24
↓ 2 callersMethodresume_or_load
(self, resume=True)
tools/train_net.py:71
↓ 2 callersMethodrun_on_video
Visualizes predictions on frames of the input video. Args: video (cv2.VideoCapture): a :class:`VideoCapture` object, who
demo/predictor.py:104
↓ 2 callersFunctionsubnetworks_forward
:param inputs: a list of inputs :param weights: [w0, w1, ...] :param bias: [b0, b1, ...] :return:
adet/modeling/fcpose/fcpose_head.py:72
↓ 2 callersMethodtest_with_TTA
(cls, cfg, model)
tools/train_net.py:165
↓ 2 callersFunctionvalidate_clockwise_points
Validates that the points that the 4 points that dlimite a polygon are in clockwise order.
adet/evaluation/rrc_evaluation_funcs.py:298
↓ 2 callersFunctionvalidate_point_inside_bounds
(x,y,imWidth,imHeight)
adet/evaluation/rrc_evaluation_funcs.py:292
↓ 1 callersMethodMEInst_losses
( self, labels, reg_targets, logits_pred, reg_pred
adet/modeling/MEInst/MEInst_outputs.py:368
↓ 1 callersMethod__init__
Args: cfg (CfgNode): num_gpus (int): if 0, will run on CPU
demo/predictor.py:188
↓ 1 callersMethod__init__
(self, in_channels, out_channels, in_features="res5")
adet/modeling/backbone/fpn.py:40
↓ 1 callersMethod__init__
(self, cfg, n_class=1000, input_size=224, width_mult=1.)
adet/modeling/backbone/mobilenet.py:74
↓ 1 callersMethod__init__
(self, pad_type='reflect', filt_size=3, stride=2, channels=None, pad_off=0)
adet/modeling/backbone/lpf.py:9
↓ 1 callersMethod__init__
(self, in_channels, out_channels, k=3)
adet/layers/gcn.py:56
↓ 1 callersMethod_bezier_to_poly
(self, bezier)
adet/utils/visualizer.py:28
↓ 1 callersMethod_decode_recognition
(self, rec)
adet/utils/visualizer.py:40
↓ 1 callersMethod_fast_hist
(self, label_pred, label_true)
adet/modeling/MEInst/LME/utils.py:101
↓ 1 callersMethod_forward_mask_heads_test
(self, proposals, mask_feats)
adet/modeling/condinst/condinst.py:235
↓ 1 callersMethod_forward_mask_heads_train
(self, proposals, mask_feats, gt_instances)
adet/modeling/condinst/condinst.py:187
↓ 1 callersMethod_frame_from_video
(self, video)
demo/predictor.py:79
↓ 1 callersMethod_freeze_backbone
(self, freeze_at)
adet/modeling/backbone/vovnet.py:276
↓ 1 callersMethod_freeze_backbone
(self, freeze_at)
adet/modeling/backbone/resnet_lpf.py:209
↓ 1 callersMethod_freeze_backbone
(self, freeze_at)
adet/modeling/backbone/mobilenet.py:110
↓ 1 callersMethod_freeze_bn
(self)
adet/modeling/backbone/resnet_lpf.py:224
↓ 1 callersMethod_get_ground_truth
(self)
adet/modeling/batext/batext_outputs.py:191
↓ 1 callersMethod_get_ground_truth
(self, locations, gt_instances)
adet/modeling/fcos/fcos_outputs.py:112
↓ 1 callersMethod_get_ground_truth
(self)
adet/modeling/MEInst/MEInst_outputs.py:183
↓ 1 callersMethod_initialize_weights
(self)
adet/modeling/backbone/vovnet.py:271
↓ 1 callersMethod_initialize_weights
(self)
adet/modeling/backbone/mobilenet.py:123
↓ 1 callersMethod_postprocess
Rescale the output instances to the target size.
adet/modeling/one_stage_detector.py:175
↓ 1 callersFunction_scale_size
Rescale a size by a ratio. Args: size (tuple[int]): (w, h). scale (float): Scaling factor. Returns: tuple[int]: scaled
adet/modeling/solov2/utils.py:6
↓ 1 callersMethod_transpose
This function is used to transpose image first training targets to level first ones :return: level first training targets
adet/modeling/batext/batext_outputs.py:174
↓ 1 callersMethod_transpose
This function is used to transpose image first training targets to level first ones :return: level first training targets
adet/modeling/fcos/fcos_outputs.py:95
↓ 1 callersMethod_transpose
This function is used to transpose image first training targets to level first ones :return: level first training targets
adet/modeling/MEInst/MEInst_outputs.py:166
next →1–100 of 505, ranked by callers