MCPcopy Create free account

hub / github.com/YifanXu74/MQ-Det / functions

Functions2,105 in github.com/YifanXu74/MQ-Det

↓ 195 callersMethodtranspose
(self, method)
maskrcnn_benchmark/structures/keypoint.py:41
↓ 167 callersMethodget_field
(self, field)
maskrcnn_benchmark/structures/keypoint.py:79
↓ 136 callersMethodto
(self, *args, **kwargs)
maskrcnn_benchmark/structures/keypoint.py:62
↓ 135 callersFunctionprint
(*args, **kwargs)
maskrcnn_benchmark/utils/dist.py:127
↓ 100 callersMethodmax
(self)
groundingdino_new/util/misc.py:85
↓ 83 callersMethodadd_field
(self, field, field_data)
maskrcnn_benchmark/structures/bounding_box.py:57
↓ 60 callersMethoddevice
(self)
groundingdino_new/util/misc.py:460
↓ 46 callersMethodadd_field
(self, field, field_data)
maskrcnn_benchmark/structures/keypoint.py:76
↓ 45 callersMethodload
(self, f=None, force=False, keyword="model", skip_optimizer =False)
maskrcnn_benchmark/utils/checkpoint.py:78
↓ 43 callersMethodconvert
(self, mode)
maskrcnn_benchmark/structures/bounding_box.py:73
↓ 43 callersMethodto
(self, device)
groundingdino_new/util/misc.py:425
↓ 40 callersMethodupdate
(self, model)
maskrcnn_benchmark/utils/ema.py:36
↓ 36 callersMethodfrom_pretrained
(cls, model_name, load_weights=True, advprop=True, num_classes=1000, in_channels=3)
maskrcnn_benchmark/modeling/backbone/efficientdet.py:1025
↓ 36 callersMethodsave
(self, name, **kwargs)
maskrcnn_benchmark/utils/checkpoint.py:53
↓ 35 callersMethodget
(name)
maskrcnn_benchmark/config/paths_catalog.py:456
↓ 34 callersMethodextend
(self, buffers)
maskrcnn_benchmark/modeling/rpn/anchor_generator.py:22
↓ 34 callersFunctionprint
(*args, **kwargs)
tools/train_net.py:249
↓ 32 callersFunctiontry_to_find
(file, return_dir=False, search_path=['./DATASET', './OUTPUT', './data', './MODEL'])
maskrcnn_benchmark/config/paths_catalog.py:7
↓ 28 callersMethodresize
(self, size, *args, **kwargs)
maskrcnn_benchmark/structures/keypoint.py:30
↓ 27 callersFunctionadd_conv
Add a conv2d / batchnorm / leaky ReLU block. Args: in_ch (int): number of input channels of the convolution layer. out_ch
maskrcnn_benchmark/layers/deform_pool.py:7
↓ 27 callersFunctioncat
Efficient version of torch.cat that avoids a copy if there is only a single element in a list
maskrcnn_benchmark/modeling/utils.py:9
↓ 23 callersMethodcopy
(self)
groundingdino_new/util/slconfig.py:389
↓ 22 callersFunctioncat_boxlist
Concatenates a list of BoxList (having the same image size) into a single BoxList Arguments: bboxes (list[BoxList])
maskrcnn_benchmark/structures/boxlist_ops.py:148
↓ 22 callersMethoddecode
(self, preds, anchors)
maskrcnn_benchmark/modeling/rpn/atss.py:41
↓ 22 callersFunctionis_main_process
()
maskrcnn_benchmark/utils/comm.py:42
↓ 21 callersFunctionprint
(*args, **kwargs)
groundingdino_new/util/misc.py:557
↓ 20 callersMethod_summarize
(self, summary_type, iou_thr=None, area_rng="all", freq_group_idx=None)
maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:525
↓ 20 callersMethodclip_to_image
(self, remove_empty=True)
maskrcnn_benchmark/structures/bounding_box.py:230
↓ 19 callersFunctionpermute_and_flatten
(layer, N, A, C, H, W)
maskrcnn_benchmark/modeling/utils.py:19
↓ 18 callersMethod__init__
Args: num_channels: conv_channels: first_time: whether the input comes directly from the efficientn
maskrcnn_benchmark/modeling/backbone/efficientdet.py:195
↓ 18 callersMethodstate_dict
(self)
maskrcnn_benchmark/utils/ema.py:33
↓ 17 callersMethodupdate
(self, model)
groundingdino_new/util/utils.py:496
↓ 16 callersMethoddump
(self, file=None)
groundingdino_new/util/slconfig.py:345
↓ 16 callersMethodfields
(self)
maskrcnn_benchmark/structures/bounding_box.py:66
↓ 15 callersMethodseek
(self, idx)
maskrcnn_benchmark/data/datasets/tsv.py:102
↓ 14 callersMethodcopy_with_fields
(self, fields)
maskrcnn_benchmark/structures/bounding_box.py:256
↓ 13 callersMethod__init__
(self, cfg)
maskrcnn_benchmark/modeling/backbone/resnet.py:82
↓ 13 callersMethodarea
(self)
maskrcnn_benchmark/structures/bounding_box.py:243
↓ 13 callersFunctionboxlist_iou
Compute the intersection over union of two set of boxes. The box order must be (xmin, ymin, xmax, ymax). Arguments: box1: (BoxList)
maskrcnn_benchmark/structures/boxlist_ops.py:97
↓ 13 callersFunctionget_world_size
()
maskrcnn_benchmark/utils/comm.py:26
↓ 13 callersMethodstep
(self, metrics=None)
maskrcnn_benchmark/solver/lr_scheduler.py:140
↓ 11 callersFunctionconv1x1
1x1 convolution
maskrcnn_benchmark/modeling/backbone/ops.py:25
↓ 11 callersMethodprepare
(self, predictions)
maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:931
↓ 11 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
maskrcnn_benchmark/utils/comm.py:46
↓ 10 callersMethod__init__
(self, level, rfb=False, vis=False)
maskrcnn_benchmark/layers/deform_pool.py:269
↓ 10 callersMethodencode
(self, gt_boxes, anchors)
maskrcnn_benchmark/modeling/rpn/atss.py:19
↓ 10 callersMethodhas_field
(self, field)
maskrcnn_benchmark/structures/bounding_box.py:63
↓ 10 callersFunctionmake_data_loader
(cfg, is_train=True, is_distributed=False, num_replicas=None, rank=None, start_iter=0, is_cache=False)
maskrcnn_benchmark/data/build.py:244
↓ 9 callersMethod__init__
(self, in_channels=256, out_channels=256, conv_func=nn.C
maskrcnn_benchmark/modeling/rpn/vldyhead.py:156
↓ 9 callersFunctionfind_file_path_in_yaml
(fname, root)
maskrcnn_benchmark/data/datasets/tsv.py:38
↓ 9 callersFunctionget_rank
()
maskrcnn_benchmark/utils/comm.py:34
↓ 9 callersFunctionmkdir
(path)
maskrcnn_benchmark/utils/miscellaneous.py:6
↓ 8 callersMethod__getattr__
(self, attr)
maskrcnn_benchmark/utils/metric_logger.py:76
↓ 8 callersMethod__init__
(self, C, kernel_size, stride, padding)
maskrcnn_benchmark/modeling/backbone/fbnet.py:81
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
maskrcnn_benchmark/utils/fuse_helper_q.py:606
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
maskrcnn_benchmark/utils/fuse_helper.py:544
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
maskrcnn_benchmark/utils/fuse_helper_cat.py:551
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
maskrcnn_benchmark/utils/fuse_helper_sim.py:544
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
maskrcnn_benchmark/utils/fuse_helper_q_noparam.py:606
↓ 8 callersFunctionall_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[
maskrcnn_benchmark/utils/comm.py:61
↓ 8 callersFunctionbuild_detection_model
(cfg, **kwargs)
maskrcnn_benchmark/modeling/detector/__init__.py:9
↓ 8 callersFunctionconv3x3
3x3 convolution with padding
maskrcnn_benchmark/modeling/backbone/ops.py:19
↓ 8 callersFunctionconv5x5
5x5 convolution with padding
maskrcnn_benchmark/modeling/backbone/ops.py:13
↓ 8 callersFunctionconv7x7
7x7 convolution with padding
maskrcnn_benchmark/modeling/backbone/ops.py:7
↓ 8 callersMethoddeepcopy
(self)
groundingdino_new/util/slconfig.py:392
↓ 8 callersMethodget_line_no
(self, idx)
maskrcnn_benchmark/data/datasets/tsv.py:250
↓ 8 callersMethodupdate
(self, **kwargs)
maskrcnn_benchmark/utils/metric_logger.py:69
↓ 7 callersMethodencode
Inputs: - input_labels: Variable long (batch, seq_len) Outputs: - output : Varia
maskrcnn_benchmark/modeling/language_backbone/rnn_model.py:49
↓ 7 callersFunctionevaluate
evaluate dataset using different methods based on dataset type. Args: dataset: Dataset object predictions(list[BoxList]): each
maskrcnn_benchmark/data/datasets/evaluation/__init__.py:10
↓ 7 callersMethodget
(self, key)
groundingdino_new/models/registry.py:40
↓ 7 callersMethodget_img_info
(self, idx)
maskrcnn_benchmark/data/datasets/tsv.py:285
↓ 7 callersFunctionsanity_check_target_after_processing
(target)
maskrcnn_benchmark/data/datasets/od_to_grounding.py:16
↓ 7 callersFunctionto_image_list
tensors can be an ImageList, a torch.Tensor or an iterable of Tensors. It can't be a numpy array. When tensors is an iterable of Tenso
maskrcnn_benchmark/structures/image_list.py:29
↓ 7 callersMethodtrain
(self, train_loader, val_loader)
maskrcnn_benchmark/engine/evolution.py:292
↓ 7 callersMethodtranspose_for_scores
(self, x)
maskrcnn_benchmark/modeling/rpn/modeling_bert.py:66
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
maskrcnn_benchmark/modeling/backbone/swint.py:16
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
maskrcnn_benchmark/modeling/backbone/swint_v2_vl.py:18
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
maskrcnn_benchmark/modeling/backbone/swint_vl.py:17
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
maskrcnn_benchmark/modeling/backbone/swint_v2.py:17
↓ 6 callersMethod__init__
(self, config, dim_t, dim_v, dim_head_t = 64, dim_head_v = 32,
maskrcnn_benchmark/modeling/language_backbone/modeling_bert_new.py:643
↓ 6 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0 )
groundingdino_new/models/GroundingDINO/backbone/swin_transformer.py:27
↓ 6 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
maskrcnn_benchmark/utils/fuse_helper_q.py:209
↓ 6 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
maskrcnn_benchmark/utils/fuse_helper_q_noparam.py:209
↓ 6 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval.
maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:412
↓ 6 callersMethodbackward
(ctx, grad_output)
maskrcnn_benchmark/layers/roi_pool.py:25
↓ 6 callersFunctionbox_area
(boxes)
maskrcnn_benchmark/layers/set_loss.py:10
↓ 6 callersMethodconcate_box_list
(list_of_boxes)
maskrcnn_benchmark/structures/bounding_box.py:273
↓ 6 callersFunctiongather_tensors
Performs all_gather operation on the provided tensors. *** Warning ***: torch.distributed.all_gather has no gradient.
maskrcnn_benchmark/utils/shallow_contrastive_loss_helper.py:28
↓ 6 callersFunctionhas_valid_annotation
(anno)
maskrcnn_benchmark/data/datasets/coco.py:28
↓ 6 callersFunctionis_supported_instance
(module)
maskrcnn_benchmark/utils/stats.py:499
↓ 6 callersFunctionmake_atss_postprocessor
(config, box_coder, is_train=False)
maskrcnn_benchmark/modeling/rpn/inference.py:826
↓ 6 callersFunctionnms
maskrcnn_benchmark/csrc/nms.h:10
↓ 5 callersFunctionFeedForward
(dim, mult = 4, out_dim = None)
maskrcnn_benchmark/modeling/language_backbone/modeling_bert_new.py:115
↓ 5 callersMethod__init__
(self, conv, inplanes, planes, stride=1, norm_layer=nn.BatchNorm2d)
maskrcnn_benchmark/modeling/backbone/blocks.py:8
↓ 5 callersFunction_get_clones
(module, N, layer_share=False)
groundingdino_new/models/GroundingDINO/utils.py:16
↓ 5 callersFunction_summarize
(iouThr=None, areaRng='all', maxDets=100)
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:406
↓ 5 callersFunction_summarize
(iouThr=None, areaRng='all', maxDets=100)
maskrcnn_benchmark/data/datasets/evaluation/od_to_grounding/od_eval.py:406
↓ 5 callersFunctionclean_name
(name)
maskrcnn_benchmark/data/datasets/od_to_grounding.py:9
↓ 5 callersFunctionexists
(val)
maskrcnn_benchmark/modeling/language_backbone/modeling_bert_new.py:106
↓ 5 callersMethodget_field
(self, field)
maskrcnn_benchmark/structures/bounding_box.py:60
next →1–100 of 2,105, ranked by callers