MCPcopy Create free account

hub / github.com/FenHua/DetDak / functions

Functions1,414 in github.com/FenHua/DetDak

↓ 1 callersFunctionmain
()
mmdetection/tools/test_robustness.py:261
↓ 1 callersFunctionmain
()
mmdetection/tools/benchmark.py:30
↓ 1 callersFunctionmain
()
mmdetection/tools/browse_dataset.py:45
↓ 1 callersFunctionmain
()
mmdetection/tools/pytorch2onnx.py:77
↓ 1 callersFunctionmain
()
mmdetection/tools/robustness_eval.py:197
↓ 1 callersFunctionmain
()
mmdetection/tools/fuse_conv_bn.py:57
↓ 1 callersFunctionmain
()
mmdetection/tools/upgrade_model_version.py:179
↓ 1 callersFunctionmain
()
mmdetection/tools/coco_error_analysis.py:156
↓ 1 callersFunctionmain
()
mmdetection/tools/analyze_logs.py:166
↓ 1 callersFunctionmain
()
mmdetection/tools/detectron2pytorch.py:72
↓ 1 callersFunctionmain
()
mmdetection/tools/get_flops.py:27
↓ 1 callersFunctionmain
()
mmdetection/tools/regnet2mmdet.py:80
↓ 1 callersFunctionmain
()
mmdetection/tools/publish_model.py:33
↓ 1 callersFunctionmain
()
mmdetection/tools/print_config.py:16
↓ 1 callersFunctionmain
()
mmdetection/tools/convert_datasets/pascal_voc.py:102
↓ 1 callersFunctionmain
()
mmdetection/tools/convert_datasets/cityscapes.py:126
↓ 1 callersFunctionmain
Benchmark between async and synchronous inference interfaces. Sample runs for 20 demo images on K80 GPU, model - mask_rcnn_r50_fpn_1x: async
mmdetection/tests/async_benchmark.py:15
↓ 1 callersFunctionmain
()
mmdetection/demo/image_demo.py:6
↓ 1 callersFunctionmain
()
mmdetection/demo/webcam_demo.py:23
↓ 1 callersMethodmake_res_layer
Pack all blocks in a stage into a ``ResLayer`` for DetectoRS.
mmdetection/mmdet/models/backbones/detectors_resnet.py:277
↓ 1 callersMethodmap_roi_levels
Map rois to corresponding feature levels by scales. - scale < finest_scale * 2: level 0 - finest_scale * 2 <= scale < finest_scale *
mmdetection/mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py:32
↓ 1 callersFunctionmask_target
Compute mask target for positive proposals in multiple images. Args: pos_proposals_list (list[Tensor]): Positive proposals in multiple
mmdetection/mmdet/core/mask/mask_target.py:6
↓ 1 callersFunctionmerge_aug_proposals
Merge augmented proposals (multiscale, flip, etc.) Args: aug_proposals (list[Tensor]): proposals from different testing schem
mmdetection/mmdet/core/post_processing/merge_augs.py:8
↓ 1 callersMethodmerge_aug_results
Merge augmented detection bboxes and scores. Args: aug_bboxes (list[Tensor]): shape (n, 4*#class) aug_scores (list[Te
mmdetection/mmdet/models/detectors/reppoints_detector.py:27
↓ 1 callersFunctionmse_loss
Warpper of mse loss.
mmdetection/mmdet/models/losses/mse_loss.py:9
↓ 1 callersFunctionmulti_gpu_test
(model, data_loader, tmpdir=None)
mmdetection/tools/test_robustness.py:118
↓ 1 callersMethodnegative_bag_loss
Compute negative bag loss. :math:`FL((1 - P_{a_{j} \in A_{+}}) * (1 - P_{j}^{bg}))`. :math:`P_{a_{j} \in A_{+}}`: Box_probability of
mmdetection/mmdet/models/dense_heads/free_anchor_retina_head.py:244
↓ 1 callersFunctionnms
Suppress bounding boxes according to their IoUs and confidence scores. Args: bbox (array): Bounding boxes to be transformed. The shape is
util_copy/utils_coco.py:7
↓ 1 callersMethodnorm1
nn.Module: normalization layer after the first convolution layer
mmdetection/mmdet/models/backbones/resnet.py:56
↓ 1 callersMethodnorm1
nn.Module: the normalization layer named "norm1"
mmdetection/mmdet/models/backbones/resnet.py:521
↓ 1 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
mmdetection/mmdet/models/backbones/hrnet.py:353
↓ 1 callersMethodnorm2
nn.Module: normalization layer after the second convolution layer
mmdetection/mmdet/models/backbones/resnet.py:61
↓ 1 callersFunctionparse_args
()
mmdetection/tools/train.py:19
↓ 1 callersFunctionparse_args
()
mmdetection/tools/test.py:17
↓ 1 callersFunctionparse_args
()
mmdetection/tools/test_robustness.py:190
↓ 1 callersFunctionparse_args
()
mmdetection/tools/benchmark.py:15
↓ 1 callersFunctionparse_args
()
mmdetection/tools/browse_dataset.py:11
↓ 1 callersFunctionparse_args
()
mmdetection/tools/pytorch2onnx.py:58
↓ 1 callersFunctionparse_args
()
mmdetection/tools/fuse_conv_bn.py:47
↓ 1 callersFunctionparse_args
()
mmdetection/tools/analyze_logs.py:136
↓ 1 callersFunctionparse_args
()
mmdetection/tools/get_flops.py:14
↓ 1 callersFunctionparse_args
()
mmdetection/tools/publish_model.py:7
↓ 1 callersFunctionparse_args
()
mmdetection/tools/print_config.py:6
↓ 1 callersFunctionparse_args
()
mmdetection/tools/convert_datasets/pascal_voc.py:93
↓ 1 callersFunctionparse_args
()
mmdetection/tools/convert_datasets/cityscapes.py:113
↓ 1 callersFunctionparse_args
()
mmdetection/demo/webcam_demo.py:9
↓ 1 callersFunctionparse_config
(config_strings)
mmdetection/tools/upgrade_model_version.py:18
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file.
mmdetection/setup.py:133
↓ 1 callersFunctionpatch_forward_method
Patch the forward method of a module. Args: func (callable): The original forward method. src_type (torch.dtype): Type of input a
mmdetection/mmdet/core/fp16/hooks.py:138
↓ 1 callersFunctionpatch_norm_fp32
Recursively convert normalization layers from FP16 to FP32. Args: module (nn.Module): The modules to be converted in FP16. Returns:
mmdetection/mmdet/core/fp16/hooks.py:118
↓ 1 callersFunctionpolygon_to_bitmap
Convert masks from the form of polygons to bitmaps. Args: polygons (list[ndarray]): masks in polygon representation height (int):
mmdetection/mmdet/core/mask/structures.py:561
↓ 1 callersMethodpositive_bag_loss
Compute positive bag loss. :math:`-log( Mean-max(P_{ij}^{cls} * P_{ij}^{loc}) )`. :math:`P_{ij}^{cls}`: matched_cls_prob, classifica
mmdetection/mmdet/models/dense_heads/free_anchor_retina_head.py:217
↓ 1 callersFunctionpost_YAN
(x, anchors, regression, classification, regressBoxes, clipBoxes, threshold, iou_threshold)
util_copy/utils.py:116
↓ 1 callersFunctionpostprocess
(x, anchors, regression, classification, regressBoxes, clipBoxes, threshold, iou_threshold)
util_copy/utils.py:60
↓ 1 callersMethodprepare_test_img
Get testing data after pipeline. Args: idx (int): Index of data. Returns: dict: Testing data after pipeline
mmdetection/mmdet/datasets/custom.py:212
↓ 1 callersMethodprepare_train_img
Get training data and annotations after pipeline. Args: idx (int): Index of data. Returns: dict: Training da
mmdetection/mmdet/datasets/custom.py:193
↓ 1 callersFunctionprint_map_summary
Print mAP and results of each class. A table will be printed to show the gts/dets/recall/AP of each class and the mAP. Args: mea
mmdetection/mmdet/core/evaluation/mean_ap.py:393
↓ 1 callersFunctionprint_recall_summary
Print recalls in a table. Args: recalls (ndarray): calculated from `bbox_recalls` proposal_nums (ndarray or list): top N proposal
mmdetection/mmdet/core/evaluation/recall.py:109
↓ 1 callersFunctionprocess_checkpoint
(in_file, out_file)
mmdetection/tools/publish_model.py:16
↓ 1 callersMethodprocess_polygons
Convert polygons to list of ndarray and filter invalid polygons. Args: polygons (list[list]): Polygons of one instance.
mmdetection/mmdet/datasets/pipelines/loading.py:258
↓ 1 callersFunctionquality_focal_loss
r"""Quality Focal Loss (QFL) is from `Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection <ht
mmdetection/mmdet/models/losses/gfocal_loss.py:9
↓ 1 callersMethodquantize_float
Converts a float to closest non-zero int divisible by divior. Args: number (int): Original number to be quantized. di
mmdetection/mmdet/models/backbones/regnet.py:254
↓ 1 callersMethodrandom_choice
Randomly select some elements from the gallery. If `gallery` is a Tensor, the returned indices will be a Tensor; If `gallery` is a nd
mmdetection/mmdet/core/bbox/samplers/score_hlr_sampler.py:62
↓ 1 callersMethodrandom_sample_ratio
Randomly sample an img_scale when ``ratio_range`` is specified. A ratio will be randomly sampled from the range specified by ``ratio_
mmdetection/mmdet/datasets/pipelines/transforms.py:125
↓ 1 callersMethodrandom_select
Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns
mmdetection/mmdet/datasets/pipelines/transforms.py:80
↓ 1 callersFunctionrcnn_L2_loss
(model,data,idx)
attack_utils/attackloss.py:88
↓ 1 callersFunctionrcnn_loss
(model, data, show_score_thr=0.3)
attack_utils/attackloss.py:63
↓ 1 callersFunctionreadme
()
mmdetection/setup.py:12
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
mmdetection/mmdet/models/losses/utils.py:6
↓ 1 callersMethodresults2txt
Dump the detection results to a txt file. Args: results (list[list | tuple]): Testing results of the dataset.
mmdetection/mmdet/datasets/cityscapes.py:94
↓ 1 callersFunctionretrieve_data_cfg
(config_path, skip_type)
mmdetection/tools/browse_dataset.py:35
↓ 1 callersFunctionround_repeats
Round number of filters based on depth multiplier.
efficientnet/utils.py:77
↓ 1 callersMethodsample_via_interval
Sample according to the iou interval. Args: max_overlaps (torch.Tensor): IoU between bounding boxes and ground tr
mmdetection/mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py:46
↓ 1 callersMethodset_extra_property
Set user-defined new property.
mmdetection/mmdet/core/bbox/assigners/assign_result.py:55
↓ 1 callersFunctionset_recall_param
Check proposal_nums and iou_thrs and set correct format.
mmdetection/mmdet/core/evaluation/recall.py:43
↓ 1 callersMethodset_swish
Sets swish function as memory efficient (for training) or standard (for export)
efficientnet/model.py:104
↓ 1 callersFunctionshow_result_pyplot
Visualize the detection results on the image. Args: model (nn.Module): The loaded detector. img (str or np.ndarray): Image filena
mmdetection/mmdet/apis/inference.py:184
↓ 1 callersFunctionsigmoid_focal_loss
r"""A warpper of cuda version `Focal Loss <https://arxiv.org/abs/1708.02002>`_. Args: pred (torch.Tensor): The prediction with shape
mmdetection/mmdet/models/losses/focal_loss.py:44
↓ 1 callersMethodsimple_test
(self, img, img_metas, **kwargs)
mmdetection/mmdet/models/detectors/base.py:86
↓ 1 callersMethodsimple_test
Test function without test time augmentation. Args: imgs (list[torch.Tensor]): List of multiple images img_metas (lis
mmdetection/mmdet/models/detectors/rpn.py:94
↓ 1 callersFunctionsingle_gpu_test
(model, data_loader, show=False)
mmdetection/tools/test_robustness.py:93
↓ 1 callersMethodsingle_level_grid_anchors
Generate grid anchors of a single level. Note: This function is usually called by method ``self.grid_anchors``. Args:
mmdetection/mmdet/core/anchor/anchor_generator.py:232
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of anchor in a single feature map. Args: featmap_size (tuple[int]): The size of feature maps.
mmdetection/mmdet/core/anchor/anchor_generator.py:296
↓ 1 callersFunctionsinglemask
(img,model)
getmask.py:39
↓ 1 callersMethodslice_as
Slice ``src`` as ``dst`` Note: ``src`` should have the same or larger size than ``dst``. Args: src (torch.Te
mmdetection/mmdet/models/necks/fpn_carafe.py:211
↓ 1 callersFunctionsoftmax
(x)
util_copy/utils.py:139
↓ 1 callersFunctiontblr2bboxes
Decode tblr outputs to prediction boxes. The process includes 3 steps: 1) De-normalize tblr coordinates by multiplying it with `normalizer`;
mmdetection/mmdet/core/bbox/coder/tblr_bbox_coder.py:113
↓ 1 callersMethodtensor_add
Add tensors ``a`` and ``b`` that might have different sizes.
mmdetection/mmdet/models/necks/fpn_carafe.py:231
↓ 1 callersFunctiontotal_loss
(model, img, conf_thresh, use_cuda=1)
attack_utils/attackloss_yolo.py:31
↓ 1 callersFunctiontrain_detector
(model, dataset, cfg, distributed=False,
mmdetection/mmdet/apis/train.py:34
↓ 1 callersFunctiontruncate_cls_channel
(val, num_classes=81)
mmdetection/tools/upgrade_model_version.py:67
↓ 1 callersFunctiontruncate_reg_channel
(val, num_classes=81)
mmdetection/tools/upgrade_model_version.py:89
↓ 1 callersMethodupdate_hyperparameters
Update hyperparameters like IoU thresholds for assigner and beta for SmoothL1 loss based on the training statistics. Returns:
mmdetection/mmdet/models/roi_heads/dynamic_roi_head.py:133
↓ 1 callersFunctionvoc_classes
()
mmdetection/mmdet/core/evaluation/class_names.py:8
↓ 1 callersFunctionvoc_eval_with_return
(result_file, dataset, iou_thr=0.5,
mmdetection/tools/test_robustness.py:66
↓ 1 callersFunctionwrite_version_py
()
mmdetection/setup.py:62
FunctionFinalMask
(flag, Mask, NOISE)
attack_utils/GetMask.py:68
FunctionInitialMask
(img, model)
getmask.py:70
FunctionL2_attack
(yolo_model, rcnn_model, img, conf_thresh,max_iter, epsilon,mask)
attack_utils/attackloss.py:106
FunctionSampleMask
(flag, Mask, NOISE)
attack_utils/GetMask.py:29
← previousnext →501–600 of 1,414, ranked by callers