MCPcopy Create free account

hub / github.com/HwangBo94/Anti-UAV410 / functions

Functions4,312 in github.com/HwangBo94/Anti-UAV410

↓ 11 callersFunctionbbox_mapping
Map bboxes from the original image scale to testing scale.
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/transforms.py:34
↓ 11 callersMethodevaluate
(self, results, logger=None)
trackers/SiamDT/libs/swintransformer/tests/test_runtime/test_eval_hook.py:37
↓ 11 callersMethodget_filter
Get the initial target model parameters given the few-shot labels
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/linear_filter.py:76
↓ 11 callersFunctionget_root_logger
Get root logger. Args: log_file (str, optional): File path of log. Defaults to None. log_level (int, optional): The level of logg
trackers/SiamDT/libs/swintransformer/mmdet/utils/logger.py:6
↓ 11 callersFunctionmasks_to_bboxes
Convert a mask tensor to one or more bounding boxes. Note: This function is a bit new, make sure it does what it says. /Andreas :param mask:
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/bounding_box_utils.py:33
↓ 10 callersMethod__init__
args: search_area_factor - The size of the search region relative to the target size. output_sz - The size (width, h
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/processing.py:681
↓ 10 callersMethod__init__
(self, debug=0, ui_info=None, visdom_info=None)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/utils/visdom.py:377
↓ 10 callersFunction_get_detector_cfg
Grab configs necessary to create a detector. These are deep copied to allow for safe modification of parameters without influencing other tes
trackers/SiamDT/libs/swintransformer/tests/test_models/test_forward.py:34
↓ 10 callersMethod_make_layers
Initialize conv sequential for CornerHead.
trackers/SiamDT/libs/swintransformer/mmdet/models/dense_heads/corner_head.py:144
↓ 10 callersFunctionimread_indexed
Load indexed image with given filename. Used to read segmentation annotations.
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/image_loader.py:83
↓ 10 callersFunctioninference_detector
Inference image(s) with the detector. Args: model (nn.Module): The loaded detector. imgs (str/ndarray or list[str/ndarray] or tup
trackers/SiamDT/libs/swintransformer/mmdet/apis/inference.py:89
↓ 10 callersFunctionload
(module, prefix='')
trackers/SiamDT/libs/swintransformer/mmcv_custom/checkpoint.py:67
↓ 10 callersMethodrandom_choice
Random select some elements from the gallery. If `gallery` is a Tensor, the returned indices will be a Tensor; If `gallery` is a ndar
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/samplers/random_sampler.py:31
↓ 10 callersMethodregister
(self, data, mode, debug_level=0, title='Data', **kwargs)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/utils/visdom.py:398
↓ 10 callersMethodrun
(self, num_iter, new_xf: TensorList = None)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/tracker/eco/optim.py:142
↓ 10 callersFunctionsample_patch_transformed
Extract transformed image samples. args: im: Image. pos: Center position for extraction. scale: Image scale to extract fea
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/preprocessing.py:14
↓ 10 callersMethodto_ndarray
Convert masks to the format of ndarray.
trackers/SiamDT/libs/swintransformer/mmdet/core/mask/structures.py:871
↓ 9 callersMethod_bbox_forward
Box forward function used in both training and testing.
trackers/SiamDT/libs/swintransformer/mmdet/models/roi_heads/pisa_roi_head.py:86
↓ 9 callersMethod_mask_forward
Mask head forward function used in both training and testing.
trackers/SiamDT/libs/swintransformer/mmdet/models/roi_heads/scnet_roi_head.py:143
↓ 9 callersMethod_sample_visible_ids
Samples num_ids frames between min_id and max_id for which target is visible args: visible - 1d Tensor indicating whether target
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/sampler.py:243
↓ 9 callersMethodassign
Assign gt to bboxes. This method assign a gt bbox to every bbox (proposal/anchor), each bbox will be assigned with -1, or a semi-posi
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/assigners/max_iou_assigner.py:60
↓ 9 callersFunctioncomplex
Create complex tensor from real and imaginary part.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/libs/complex.py:142
↓ 9 callersFunctionconv
(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/bbreg/atom_iou_net.py:7
↓ 9 callersMethodcrop_to_output
(self, image)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/augmentation.py:20
↓ 9 callersFunctioninit_detector
Initialize a detector from config file. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
trackers/SiamDT/libs/swintransformer/mmdet/apis/inference.py:16
↓ 9 callersFunctionshow_tensor
Display a 2D tensor. args: fig_num: Figure number. title: Title of figure.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/utils/plotting.py:13
↓ 8 callersMethod__init__
(self, dataset, nbins_iou=101, nbins_ce=51, result_dir='results', report_dir='reports',
trackers/SiamDT/libs/data/evaluators/otb_eval.py:34
↓ 8 callersMethod_add_output_and_check
(self, name, x, outputs, output_layers)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/backbone/mobilenetv3.py:257
↓ 8 callersFunction_build_demo_runner
()
trackers/SiamDT/libs/swintransformer/tests/test_data/test_datasets/test_common.py:306
↓ 8 callersMethod_read_image
(self, image_file: str)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/evaluation/tracker.py:683
↓ 8 callersMethod_return_feature
(self, f)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/extractor.py:91
↓ 8 callersMethodapply_target_model
Apply the target model to obtain the mask encodings
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/lwl/linear_filter.py:70
↓ 8 callersFunctionbuild_bbox_coder
Builder of box coder.
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/builder.py:18
↓ 8 callersFunctionbuild_roi_extractor
Build roi extractor.
trackers/SiamDT/libs/swintransformer/mmdet/models/builder.py:47
↓ 8 callersFunctioncheck_shear
(results, results_sheared)
trackers/SiamDT/libs/swintransformer/tests/test_data/test_pipelines/test_transform/test_shear.py:51
↓ 8 callersMethodextract
(self, im: torch.Tensor)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/color.py:13
↓ 8 callersMethodextract_backbone_features
(self, im, layers=None)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/rts_net.py:248
↓ 8 callersFunctionfpn_config
Return the class containing the corresponding attributes according to the test_step_names.
trackers/SiamDT/libs/swintransformer/tests/test_onnx/test_neck.py:31
↓ 8 callersFunctionget_dataset
Get a single or set of datasets.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/evaluation/datasets.py:69
↓ 8 callersMethodget_frames
(self, seq_id, frame_ids, anno=None)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/dataset/lasot.py:149
↓ 8 callersMethodget_iounet_box
All inputs in original image coordinates. Generates a box in the cropped image sample reference frame, in the format used by the IoUNet.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/tracker/kys/kys.py:600
↓ 8 callersMethodget_points
Get points according to feature map sizes. Args: featmap_sizes (list[tuple]): Multi-level feature map sizes. img_meta
trackers/SiamDT/libs/swintransformer/mmdet/models/dense_heads/reppoints_head.py:295
↓ 8 callersMethodget_sequence_info
(self, seq_id)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/dataset/lasot.py:124
↓ 8 callersMethodip_output
Inner product of the output space.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/libs/optimization.py:20
↓ 8 callersMethodload_network
(self)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/net_wrappers.py:30
↓ 8 callersMethodnorm2
nn.Module: the normalization layer named "norm2"
trackers/SiamDT/libs/swintransformer/mmdet/models/backbones/hrnet.py:353
↓ 8 callersMethodregister_module
(self, module, prefix='')
trackers/SiamDT/libs/config/registry.py:71
↓ 8 callersFunctionrelu
(negative_slope=0.0, inplace=False)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/decoder.py:13
↓ 8 callersFunctionrelu
(negative_slope=0.0, inplace=False)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/lwl/decoder.py:13
↓ 8 callersFunctionsample_patch
Sample an image patch. args: im: Image pos: center position of crop sample_sz: size to crop output_sz: size to re
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/preprocessing.py:55
↓ 8 callersMethodsimple_test_rpn
Test without augmentation. Args: x (tuple[Tensor]): Features from the upstream network, each is a 4D-tensor.
trackers/SiamDT/libs/swintransformer/mmdet/models/dense_heads/rpn_test_mixin.py:24
↓ 8 callersMethodupdate
(self, val)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/admin/stats.py:14
↓ 8 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
trackers/SiamDT/libs/swintransformer/mmdet/models/losses/utils.py:28
↓ 7 callersMethod__init__
(self, embed_dims, feedforward_channels, num_fcs=2,
trackers/SiamDT/libs/swintransformer/mmdet/models/utils/transformer.py:120
↓ 7 callersMethod_add_output_and_check
(self, name, x, outputs, output_layers)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/backbone/resnet18_vggm.py:85
↓ 7 callersFunctionbuild
Build a module. Args: cfg (dict, list[dict]): The config of modules, is is either a dict or a list of configs. regist
trackers/SiamDT/libs/swintransformer/mmdet/models/builder.py:15
↓ 7 callersMethodbuild_trans
(self, cfg, in_channels, out_channels, **extra_args)
trackers/SiamDT/libs/swintransformer/mmdet/models/necks/fpg.py:302
↓ 7 callersFunctioncheck_rotate
(results, results_rotated)
trackers/SiamDT/libs/swintransformer/tests/test_data/test_pipelines/test_transform/test_rotate.py:50
↓ 7 callersMethodextract_classification_feat
(self, backbone_feat)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/rts_net.py:259
↓ 7 callersMethodextract_target_model_features
(self, backbone_feat)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/rts_net.py:245
↓ 7 callersMethodget_name
(self)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/dataset/sbd.py:75
↓ 7 callersFunctionmask2ndarray
Convert Mask to ndarray.. Args: mask (:obj:`BitmapMasks` or :obj:`PolygonMasks` or torch.Tensor or np.ndarray): The mask to be co
trackers/SiamDT/libs/swintransformer/mmdet/core/utils/misc.py:45
↓ 7 callersFunctionmerge_aug_masks
Merge augmented mask prediction. Args: aug_masks (list[ndarray]): shape (n, #class, h, w) img_shapes (list[ndarray]): shape (3, )
trackers/SiamDT/libs/swintransformer/mmdet/core/post_processing/merge_augs.py:120
↓ 7 callersMethodnorm3
nn.Module: normalization layer after the third convolution layer
trackers/SiamDT/libs/swintransformer/mmdet/models/backbones/resnet.py:256
↓ 7 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
trackers/SiamDT/libs/swintransformer/setup.py:50
↓ 7 callersMethodregress_by_class
Regress the bbox for the predicted class. Used in Cascade R-CNN. Args: rois (Tensor): shape (n, 4) or (n, 5) label (T
trackers/SiamDT/libs/swintransformer/mmdet/models/roi_heads/bbox_heads/bbox_head.py:455
↓ 7 callersFunctionreplace_ImageToTensor
Replace the ImageToTensor transform in a data pipeline to DefaultFormatBundle, which is normally useful in batch inference. Args: pip
trackers/SiamDT/libs/swintransformer/mmdet/datasets/utils.py:13
↓ 7 callersFunctionsample_patch_multiscale
Extract image patches at multiple scales. args: im: Image. pos: Center position for extraction. scales: Image scales to ex
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/features/preprocessing.py:33
↓ 7 callersMethodsetdefault
(self, key, default=None)
trackers/SiamDT/libs/config/config.py:96
↓ 7 callersMethodunroll
(self)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/libs/tensorlist.py:152
↓ 6 callersMethod__call__
(self, item)
trackers/SiamDT/libs/data/transforms/pair_transforms/mmdet_transforms.py:44
↓ 6 callersMethod__init__
(self, sigma)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/transforms.py:309
↓ 6 callersMethod__init__
(self, net, objective, loss_weight=None, dimp_jitter_fn=None)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/actors/tracking.py:199
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/backbone/swin_transformer_flex.py:22
↓ 6 callersMethod__init__
(self, feature_dim, layer_type)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/target_candidate_matching/superglue.py:161
↓ 6 callersMethod__init__
(self, d_model=512, nhead=8, num_encoder_layers=6, num_decoder_layers=6, dim_feedforward=2048,
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/transformer/transformer.py:67
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
trackers/SiamDT/libs/swintransformer/mmdet/models/backbones/swin_transformer.py:23
↓ 6 callersMethod_add_output_and_check
(self, name, x, outputs, output_layers)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/backbone/resnet.py:170
↓ 6 callersFunction_construct_bbox
(num_bbox=None)
trackers/SiamDT/libs/swintransformer/tests/test_metrics/test_box_overlap.py:10
↓ 6 callersMethod_corner2rect
(self, corners, center=False)
trackers/SiamDT/libs/data/datasets/vot.py:207
↓ 6 callersFunction_create_dummy_results
()
trackers/SiamDT/libs/swintransformer/tests/test_data/test_datasets/test_common.py:96
↓ 6 callersMethod_sample_visible_ids
Samples num_ids frames between min_id and max_id for which target is visible args: visible - 1d Tensor indicating whether target
implementation_in_pytracking/pytracking-AntiUAV410/ltr/data/sampler.py:59
↓ 6 callersMethod_transpose_and_gather_feat
Transpose and gather feature according to index. Args: feat (Tensor): Target feature map. ind (Tensor): Target coord
trackers/SiamDT/libs/swintransformer/mmdet/models/dense_heads/corner_head.py:823
↓ 6 callersFunctionanchor_inside_flags
Check whether the anchors are inside the border. Args: flat_anchors (torch.Tensor): Flatten anchors, shape (n, 4). valid_flags (t
trackers/SiamDT/libs/swintransformer/mmdet/core/anchor/utils.py:20
↓ 6 callersFunctionbbox_cxcywh_to_xyxy
Convert bbox coordinates from (cx, cy, w, h) to (x1, y1, x2, y2). Args: bbox (Tensor): Shape (n, 4) for bboxes. Returns: Ten
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/transforms.py:215
↓ 6 callersFunctioncreate_random_bboxes
(num_bboxes, img_w, img_h)
trackers/SiamDT/libs/swintransformer/tests/test_data/test_pipelines/test_transform/test_transform.py:202
↓ 6 callersMethoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: bboxes (torch.Tensor): Basic boxes. Shape (B, N, 4) or (N, 4) pr
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py:53
↓ 6 callersMethoddecode
Apply transformation `pred_bboxes` to `boxes`. Args: bboxes (torch.Tensor): Basic boxes.Shape (B, N, 4) or (N, 4) pre
trackers/SiamDT/libs/swintransformer/mmdet/core/bbox/coder/tblr_bbox_coder.py:49
↓ 6 callersMethodextract_head_feat
Extract classification features based on the input backbone features.
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/transformer/heads.py:55
↓ 6 callersMethodforward_test
Args: imgs (List[Tensor]): the outer list indicates test-time augmentations and inner Tensor should have a shape
trackers/SiamDT/libs/swintransformer/mmdet/models/detectors/base.py:125
↓ 6 callersMethodget_backbone_clf_feat
(self, backbone_feat)
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/rts_net.py:253
↓ 6 callersMethodget_iou_feat
Get IoU prediction features from a 4 or 5 dimensional backbone input.
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/bbreg/atom_iou_net.py:172
↓ 6 callersMethodget_modulation
Get modulation vectors for the targets. args: feat: Backbone features from reference images. Dims (batch, feature_dim, H, W).
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/bbreg/atom_iou_net.py:138
↓ 6 callersFunctionget_tracker_display_name
(tracker)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/analysis/plot_results.py:96
↓ 6 callersFunctionimshow_det_bboxes
Draw bboxes and class labels (with scores) on an image. Args: img (str or ndarray): The image to be displayed. bboxes (ndarray):
trackers/SiamDT/libs/swintransformer/mmdet/core/visualization/image.py:28
↓ 6 callersMethodinitialize
(self, image, info: dict)
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/evaluation/multi_object_wrapper.py:101
↓ 6 callersFunctioninterpolate
(t, sz, mode='bilinear')
implementation_in_pytracking/pytracking-AntiUAV410/ltr/models/rts/utils.py:11
↓ 6 callersMethodmake_block_plugins
make plugins for block. Args: in_channels (int): Input channels of plugin. plugins (list[dict]): List of plugins cfg
trackers/SiamDT/libs/swintransformer/mmdet/models/backbones/resnet.py:216
↓ 6 callersFunctionmult_real_cplx
Pointwise complex multiplication of real tensor a with complex tensor b.
implementation_in_pytracking/pytracking-AntiUAV410/pytracking/libs/complex.py:58
↓ 6 callersMethodrefine_bboxes
Refine bboxes during training. Args: rois (Tensor): Shape (n*bs, 5), where n is image number per GPU, and bs is t
trackers/SiamDT/libs/swintransformer/mmdet/models/roi_heads/bbox_heads/bbox_head.py:376
← previousnext →101–200 of 4,312, ranked by callers