MCPcopy Index your code

hub / github.com/NVlabs/FasterViT / functions

Functions1,340 in github.com/NVlabs/FasterViT

↓ 136 callersFunctionprint
(*args, **kwargs)
downstream/object_tracking/motrv2/util/misc.py:362
↓ 104 callersMethodcat
Concatenates a list of Boxes into a single Boxes Arguments: boxes_list (list[Boxes]) Returns: Boxes
downstream/object_tracking/motrv2/models/structures/boxes.py:285
↓ 82 callersFunctionprint
(*args, **kwargs)
downstream/object_detection/dino/util/misc.py:438
↓ 70 callersMethodto
(self, device)
downstream/object_detection/dino/util/misc.py:323
↓ 44 callersMethodinfo
(self, prefix)
onnx_convert.py:122
↓ 44 callersMethodmax
(self)
downstream/object_tracking/motrv2/util/misc.py:79
↓ 38 callersMethodcopy
(self)
downstream/object_detection/dino/util/slconfig.py:396
↓ 37 callersMethodmax
(self)
downstream/object_detection/dino/util/misc.py:80
↓ 35 callersMethodupdate
(self, model)
downstream/object_detection/dino/util/utils.py:394
↓ 29 callersMethodget
Returns the field called `name`.
downstream/object_tracking/motrv2/models/structures/instances.py:99
↓ 23 callersMethoddeepcopy
(self)
downstream/object_detection/dino/util/slconfig.py:399
↓ 22 callersMethod_combine_sum
Combine sequence results via sum
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/_base_metric.py:56
↓ 22 callersMethodget_name
(self)
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/rob_mots.py:129
↓ 20 callersMethodload_state_dict
(self, state_dict: Dict[str, Any])
fastervit/scheduler/scheduler.py:58
↓ 17 callersMethodstate_dict
(self)
fastervit/scheduler/scheduler.py:55
↓ 16 callersMethodarea
Computes the area of all the boxes. Returns: torch.Tensor: a vector with areas of each box.
downstream/object_tracking/motrv2/models/structures/boxes.py:177
↓ 16 callersMethodupdate
(self, val, n=1)
downstream/object_detection/dino/util/time_counter.py:49
↓ 15 callersMethodevaluate
Evaluate a set of metrics on a set of datasets
downstream/object_tracking/motrv2/TrackEval/trackeval/eval.py:49
↓ 15 callersMethodto
(self, device: torch.device)
downstream/object_tracking/motrv2/models/structures/boxes.py:173
↓ 14 callersMethod_check_unique_ids
Check the requirement that the tracker_ids and gt_ids are unique per timestep
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/_base_dataset.py:300
↓ 14 callersMethodmerge
(self, dst, src)
downstream/object_tracking/motrv2/tools/merge_dance_tracklets.py:25
↓ 14 callersMethodnumpy
(self)
downstream/object_tracking/motrv2/models/structures/instances.py:127
↓ 13 callersMethodupdate
(self, track_instances: Instances)
downstream/object_tracking/motrv2/models/motr.py:312
↓ 12 callersFunction_cfg
(url='', **kwargs)
downstream/object_tracking/motrv2/models/backbone.py:30
↓ 12 callersMethodget_default_dataset_config
Default class config values
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/tao.py:17
↓ 12 callersMethodget_default_eval_config
Returns the default config values for evaluation
downstream/object_tracking/motrv2/TrackEval/trackeval/eval.py:16
↓ 12 callersFunctionmatch_name_keywords
(n: str, name_keywords: list)
downstream/object_detection/dino/util/get_param_dicts.py:6
↓ 12 callersMethodstep
(self, epoch: int, metric: float = None)
fastervit/scheduler/scheduler.py:67
↓ 11 callersMethod__init__
Args: in_features: input features dimension. hidden_features: hidden features dimension. out_features: ou
downstream/object_tracking/motrv2/models/fastervit.py:352
↓ 11 callersFunction_cfg
(url='', **kwargs)
fastervit/models/faster_vit.py:21
↓ 11 callersFunction_cfg
(url='', **kwargs)
fastervit/models/faster_vit_any_res.py:22
↓ 11 callersMethod_load_state_dict
(self, pretrained, strict: bool = False)
fastervit/models/faster_vit.py:967
↓ 11 callersMethod_load_state_dict
(self, pretrained, strict: bool = False)
fastervit/models/faster_vit_any_res.py:997
↓ 11 callersMethoddump
(self, file=None)
downstream/object_detection/dino/util/slconfig.py:352
↓ 11 callersFunctionimagenet_lmdb_dataset
( root, transform=None, target_transform=None, loader=lmdb_loader)
fastervit/utils/datasets.py:466
↓ 10 callersMethod__init__
Args: in_features: input features dimension. hidden_features: hidden features dimension. out_features: ou
fastervit/models/faster_vit.py:375
↓ 10 callersMethod__init__
Args: in_features: input features dimension. hidden_features: hidden features dimension. out_features: ou
fastervit/models/faster_vit_any_res.py:376
↓ 10 callersMethod__init__
Args: in_features: input features dimension. hidden_features: hidden features dimension. out_features: ou
downstream/object_detection/dino/models/dino/fastervit.py:211
↓ 10 callersMethodclone
Clone the Boxes. Returns: Boxes
downstream/object_tracking/motrv2/models/structures/boxes.py:163
↓ 10 callersMethodremove
Remove the field called `name`.
downstream/object_tracking/motrv2/models/structures/instances.py:93
↓ 10 callersMethodupdate_groups
(self, values)
fastervit/scheduler/scheduler.py:81
↓ 9 callersMethodget
(self, key)
downstream/object_detection/dino/models/registry.py:34
↓ 9 callersFunctioninverse_sigmoid
(x, eps=1e-3)
downstream/object_detection/dino/util/misc.py:575
↓ 9 callersMethodto
(self, device, non_blocking=False)
downstream/object_tracking/motrv2/util/misc.py:332
↓ 8 callersMethod_calculate_box_ious
Calculates the IOU (intersection over union) between two arrays of boxes. Allows variable box formats ('xywh' and 'x0y0x1y1'). If do_
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/_base_dataset.py:248
↓ 8 callersMethod_calculate_mask_ious
Calculates the IOU (intersection over union) between two arrays of segmentation masks. If is_encoded a run length encoding with pycocotools i
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/_base_dataset.py:215
↓ 8 callersFunctionbox_cxcywh_to_xyxy
(x)
downstream/object_detection/dino/util/box_ops.py:9
↓ 8 callersMethodupdate
(self, head='scalar', step=None, **kwargs)
fastervit/tensorboard.py:15
↓ 8 callersMethodupdate
(self, **kwargs)
downstream/object_tracking/motrv2/util/misc.py:170
↓ 7 callersFunctionis_dist_avail_and_initialized
()
downstream/object_tracking/motrv2/util/misc.py:370
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
downstream/object_detection/dino/models/dino/swin_transformer.py:21
↓ 6 callersFunction_get_activation_fn
Return an activation function given a string
downstream/object_detection/dino/models/dino/utils.py:133
↓ 6 callersMethod_load_simple_text_file
Function that loads data which is in a commonly used text file format. Assumes each det is given by one row of a text file. There is
downstream/object_tracking/motrv2/TrackEval/trackeval/datasets/_base_dataset.py:105
↓ 6 callersFunctioncrop
(image, target, region)
downstream/object_tracking/motrv2/datasets/transforms.py:117
↓ 6 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
downstream/object_detection/dino/models/dino/dino.py:475
↓ 6 callersMethodget_name
(cls)
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/_base_metric.py:52
↓ 6 callersFunctionlist_models
Return list of available model names, sorted alphabetically Args: filter (str) - Wildcard filter string that works with fnmatch
fastervit/models/registry.py:62
↓ 6 callersMethodset
Set the field named `name` to `value`. The length of `value` must be the number of instances, and must agree with other exist
downstream/object_tracking/motrv2/models/structures/instances.py:73
↓ 5 callersMethod_generate_empty_tracks
(self, proposals=None)
downstream/object_tracking/motrv2/models/motr.py:464
↓ 5 callersFunctioncreate_coco_mask
Converts mask as rle text (+ height and width) to encoded version used by pycocotools.
downstream/object_tracking/motrv2/TrackEval/trackeval/baselines/baseline_utils.py:89
↓ 5 callersMethoddetailed_results
Returns detailed final results for a tracker
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/_base_metric.py:106
↓ 5 callersMethodfind
(self, src)
downstream/object_tracking/motrv2/tools/merge_dance_tracklets.py:20
↓ 5 callersFunctionpad
(image, target, padding)
downstream/object_detection/dino/datasets/transforms.py:136
↓ 5 callersMethodset_epoch
(self, epoch)
downstream/object_tracking/motrv2/datasets/dance.py:112
↓ 5 callersMethodupdate
(self, **kwargs)
downstream/object_detection/dino/util/misc.py:171
↓ 4 callersMethod__init__
(self, d_model=256, nhead=8, num_encoder_layers=6, num_decoder_layers=6, dim_feedforward=1024
downstream/object_detection/dino/models/dino/transformer_deformable.py:30
↓ 4 callersMethod__init__
(self, encoder_layer, num_layers, norm=None, d_model=256, num_queries=300, deformabl
downstream/object_detection/dino/models/dino/deformable_transformer.py:448
↓ 4 callersMethod__init__
(self, detr, freeze_detr=False)
downstream/object_detection/dino/models/dino/segmentation.py:37
↓ 4 callersMethod__init__
(self, d_model=256, nhead=8, num_encoder_layers=6, num_decoder_layers=6, dim_feedforward=1024
downstream/object_tracking/motrv2/models/deformable_transformer_plus.py:29
↓ 4 callersMethod__setattr__
(self, name, value)
downstream/object_detection/dino/util/slconfig.py:339
↓ 4 callersFunction_expand
(tensor, length: int)
downstream/object_detection/dino/models/dino/segmentation.py:77
↓ 4 callersMethod_get_src_permutation_idx
(self, indices)
downstream/object_tracking/motrv2/models/deformable_detr.py:140
↓ 4 callersMethodconvert
Args: box: can be a k-tuple, k-list or an Nxk array/tensor, where k = 4 or 5 from_mode, to_mode (BoxMode) Re
downstream/object_tracking/motrv2/models/structures/boxes.py:50
↓ 4 callersFunctioncreate_model
( model_name, pretrained=False, checkpoint_path='', **kwargs)
fastervit/models/registry.py:195
↓ 4 callersMethoddevice
(self)
downstream/object_detection/dino/util/misc.py:358
↓ 4 callersMethoddevice
(self)
downstream/object_tracking/motrv2/models/structures/boxes.py:305
↓ 4 callersFunctionget_code_path
Get base path where code is
downstream/object_tracking/motrv2/TrackEval/trackeval/utils.py:55
↓ 4 callersMethodget_loss
(self, loss, outputs, gt_instances, indices, num_boxes, **kwargs)
downstream/object_tracking/motrv2/models/motr.py:96
↓ 4 callersFunctionget_world_size
()
downstream/object_tracking/motrv2/util/misc.py:378
↓ 4 callersFunctionis_dist_avail_and_initialized
()
downstream/object_detection/dino/util/misc.py:446
↓ 4 callersFunctionis_str
Whether the input is an string instance. Note: This method is deprecated since python 2 is no longer supported.
downstream/object_detection/dino/util/slio.py:98
↓ 4 callersFunctionload_checkpoint
(model, checkpoint_path, use_ema=False, strict=True)
fastervit/models/registry.py:184
↓ 4 callersFunctionmatch_name_keywords
(n, name_keywords)
downstream/object_tracking/motrv2/main.py:245
↓ 4 callersFunctionmy_random_split
Randomly split a dataset into non-overlapping new datasets of given lengths. Arguments: dataset (Dataset): Dataset to be split
fastervit/utils/datasets.py:405
↓ 4 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor])
downstream/object_detection/dino/util/misc.py:375
↓ 4 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor], size_divisibility: int = 0)
downstream/object_tracking/motrv2/util/misc.py:300
↓ 4 callersMethodsummary
(self)
downstream/object_detection/dino/util/utils.py:428
↓ 4 callersMethodtext
(self)
downstream/object_detection/dino/util/slconfig.py:219
↓ 4 callersMethodtrain
(self, mode=True)
downstream/object_tracking/motrv2/models/fastervit.py:1015
↓ 4 callersFunctionxywh2xyxy
(x)
downstream/object_tracking/motrv2/util/motdet_eval.py:136
↓ 3 callersMethod__init__
(self, backbone, position_embedding)
downstream/object_detection/dino/models/dino/backbone.py:131
↓ 3 callersMethod_combine_weighted_av
Combine sequence results via weighted average
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/_base_metric.py:61
↓ 3 callersMethod_compute_final_fields
Calculate sub-metric ('field') values which only depend on other sub-metric values. This function is used both for both per-sequence calculati
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/identity.py:128
↓ 3 callersMethod_compute_final_fields
Calculate sub-metric ('field') values which only depend on other sub-metric values. This function is used both for both per-sequence calculati
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/hota.py:166
↓ 3 callersMethod_compute_final_fields
Calculate sub-metric ('field') values which only depend on other sub-metric values. This function is used both for both per-sequence calculati
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/clear.py:167
↓ 3 callersMethod_compute_final_fields
(additive)
downstream/object_tracking/motrv2/TrackEval/trackeval/metrics/vace.py:125
↓ 3 callersMethod_forward_single_image
(self, samples, track_instances: Instances, gtboxes=None)
downstream/object_tracking/motrv2/models/motr.py:502
↓ 3 callersFunction_from_dense
(num_timesteps, num_gt_ids, num_tracker_ids, gt_present, tracker_present, similarity)
downstream/object_tracking/motrv2/TrackEval/tests/test_metrics.py:163
↓ 3 callersMethod_get_lr
(self, t)
fastervit/scheduler/tanh_lr.py:71
↓ 3 callersMethod_get_src_permutation_idx
(self, indices)
downstream/object_detection/dino/models/dino/dino.py:463
next →1–100 of 1,340, ranked by callers