MCPcopy Create free account

hub / github.com/botaoye/OSTrack / functions

Functions788 in github.com/botaoye/OSTrack

↓ 1 callersMethodinit_info
(self)
lib/test/evaluation/data.py:92
↓ 1 callersFunctionlist_sequences
Lists all the videos in the input set_ids. Returns a list of tuples (set_id, video_name) args: root: Root directory to TrackingNet
lib/train/dataset/tracking_net.py:14
↓ 1 callersFunctionlist_sequences
Lists all the videos in the input set_ids. Returns a list of tuples (set_id, video_name) args: root: Root directory to TrackingNet
lib/train/dataset/tracking_net_lmdb.py:15
↓ 1 callersMethodloadCats
Load cats with the specified ids. :param ids (int array) : integer ids specifying cats :return: cats (object array) : l
lib/train/dataset/COCO_tool.py:206
↓ 1 callersMethodloadNumpyAnnotations
Convert result data from a numpy array [Nx7] where each row contains {imageID,x1,y1,w,h,score,class} :param data (numpy.ndarray)
lib/train/dataset/COCO_tool.py:386
↓ 1 callersMethodload_checkpoint
Loads a network checkpoint file. Can be called in three different ways: load_checkpoint(): Loads the latest epoch
lib/train/trainers/base_trainer.py:150
↓ 1 callersFunctionload_dataset
Import and load a single dataset.
lib/test/evaluation/datasets.py:31
↓ 1 callersFunctionload_str
(path)
lib/test/utils/load_text.py:44
↓ 1 callersFunctionload_text_numpy
(path, delimiter, dtype)
lib/test/utils/load_text.py:5
↓ 1 callersFunctionload_text_pandas
(path, delimiter, dtype)
lib/test/utils/load_text.py:20
↓ 1 callersFunctionmain
()
lib/train/run_training.py:78
↓ 1 callersFunctionmain
()
tracking/train.py:38
↓ 1 callersFunctionmain
()
tracking/test.py:37
↓ 1 callersFunctionmain
()
tracking/download_pytracking_results.py:155
↓ 1 callersFunctionmain
()
tracking/test_exp.py:37
↓ 1 callersFunctionmain
()
tracking/video_demo.py:23
↓ 1 callersMethodmap_box_back
(self, pred_box: list, resize_factor: float)
lib/test/tracker/ostrack.py:134
↓ 1 callersMethodmap_box_back_batch
(self, pred_box: torch.Tensor, resize_factor: float)
lib/test/tracker/ostrack.py:142
↓ 1 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor])
lib/utils/misc.py:307
↓ 1 callersMethodnew_epoch
(self)
lib/train/admin/stats.py:41
↓ 1 callersFunctionnumpy_to_torch
(a: np.ndarray)
lib/vis/utils.py:5
↓ 1 callersFunctionopencv_loader
Read image using opencv's imread function and returns it in rgb format
lib/train/data/image_loader.py:44
↓ 1 callersFunctionoverlay_mask
Overlay mask over image. Source: https://github.com/albertomontesg/davis-interactive/blob/master/davisinteractive/utils/visualization.py This
lib/vis/plotting.py:113
↓ 1 callersFunctionpad_img
(img)
lib/test/tracker/vis_utils.py:29
↓ 1 callersFunctionparse
parse string to the appropriate region format and return region object
lib/test/evaluation/votdataset.py:280
↓ 1 callersFunctionparse_args
args for evaluation.
tracking/analysis_results_ITP.py:7
↓ 1 callersFunctionparse_args
()
tracking/create_default_local_file.py:8
↓ 1 callersFunctionparse_args
args for training.
tracking/train.py:6
↓ 1 callersFunctionparse_args
args for training.
tracking/profile_model.py:17
↓ 1 callersFunctionparse_args
args for training.
tracking/pre_read_datasets.py:10
↓ 1 callersFunctionread_file
(fp: Union[str, TextIO])
lib/test/evaluation/votdataset.py:299
↓ 1 callersFunctionrecover_image
(tokens, H, W, Hp, Wp, patch_size)
lib/test/tracker/vis_utils.py:23
↓ 1 callersMethodreset
(self)
lib/train/admin/stats.py:7
↓ 1 callersFunctionrle_to_mask
rle: input rle mask encoding each evenly-indexed element represents number of consecutive 0s each oddly indexed element represents number
lib/test/evaluation/votdataset.py:331
↓ 1 callersMethodroll
(self)
lib/train/data/transforms.py:139
↓ 1 callersFunctionrun_sequence
Runs a tracker on a sequence.
lib/test/evaluation/running.py:105
↓ 1 callersFunctionrun_tracker
Run tracker on sequence or dataset. args: tracker_name: Name of tracking method. tracker_param: Name of parameter file. ru
tracking/test.py:14
↓ 1 callersFunctionrun_tracker
Run tracker on sequence or dataset. args: tracker_name: Name of tracking method. tracker_param: Name of parameter file. ru
tracking/test_exp.py:14
↓ 1 callersFunctionrun_training
Run the train script. args: script_name: Name of emperiment in the "experiments/" folder. config_name: Name of the yaml file in th
lib/train/run_training.py:26
↓ 1 callersFunctionrun_video
Run the tracker on your webcam. args: tracker_name: Name of tracking method. tracker_param: Name of parameter file. debug:
tracking/video_demo.py:12
↓ 1 callersMethodrun_video
Run the tracker with the vieofile. args: debug: Debug level.
lib/test/evaluation/tracker.py:154
↓ 1 callersMethodsave_checkpoint
Saves a checkpoint of the network and other variables.
lib/train/trainers/base_trainer.py:116
↓ 1 callersMethodsave_data
(self, data, **kwargs)
lib/vis/visdom_cus.py:51
↓ 1 callersMethodset_default
(self)
lib/train/admin/settings.py:9
↓ 1 callersMethodset_zoom_pos
(self, slice_pos)
lib/vis/visdom_cus.py:153
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
lib/utils/misc.py:363
↓ 1 callersMethodshade_cell
(self, data)
lib/vis/visdom_cus.py:235
↓ 1 callersMethodshow_cost_volume
(self)
lib/vis/visdom_cus.py:142
↓ 1 callersMethodshow_cost_volume_slice
(self)
lib/vis/visdom_cus.py:162
↓ 1 callersMethodtoggle_display
(self, new_mode=None)
lib/vis/visdom_cus.py:57
↓ 1 callersMethodtoggle_show_slice
(self, new_mode=None)
lib/vis/visdom_cus.py:156
↓ 1 callersMethodtrain
Do training for the given number of epochs. args: max_epochs - Max number of training epochs, load_latest - Bool indic
lib/train/trainers/base_trainer.py:62
↓ 1 callersMethodtrain_epoch
(self)
lib/train/trainers/base_trainer.py:113
↓ 1 callersMethodtransform_bbox_to_crop
(self, box_in, resize_factor, device, box_extract=None, crop_type='template')
lib/test/tracker/basetracker.py:38
↓ 1 callersMethodtransform_coords
Must be deterministic
lib/train/data/transforms.py:146
↓ 1 callersFunctiontransform_got10k
(tracker_name, cfg_name)
lib/test/utils/transform_got10k.py:9
↓ 1 callersFunctiontransform_trackingnet
(tracker_name, cfg_name)
lib/test/utils/transform_trackingnet.py:9
↓ 1 callersFunctionunpack_tracking_results
Unpacks zipped benchmark results. The directory 'download_path' should have the following structure - root - tracker1 - p
tracking/download_pytracking_results.py:117
↓ 1 callersMethodupdate_boxes
(self, data, caption)
tracking/vis_results.py:79
↓ 1 callersFunctionupdate_config_from_file
(filename, base_cfg=None)
lib/config/ostrack/config.py:137
↓ 1 callersMethodupdate_settings
Updates the trainer settings. Must be called to update internal settings.
lib/train/trainers/base_trainer.py:40
↓ 1 callersMethodvis_dataset
(self, dataset, trackers, skip_missing_seq=False, seq_list=[])
tracking/vis_results.py:24
↓ 1 callersFunctionvit_base_patch16_224
ViT-Base model (ViT-B/16) from original paper (https://arxiv.org/abs/2010.11929).
lib/models/ostrack/vit.py:379
↓ 1 callersFunctionvit_base_patch16_224_ce
ViT-Base model (ViT-B/16) from original paper (https://arxiv.org/abs/2010.11929).
lib/models/ostrack/vit_ce.py:210
↓ 1 callersFunctionvit_large_patch16_224_ce
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929).
lib/models/ostrack/vit_ce.py:219
↓ 1 callersMethodwrite_epoch
(self, stats: OrderedDict, epoch: int, ind=-1)
lib/train/admin/tensorboard.py:21
↓ 1 callersMethodwrite_info
(self, script_name, description)
lib/train/admin/tensorboard.py:15
↓ 1 callersMethodwrite_log
(self, stats: OrderedDict, epoch=-1)
lib/train/data/wandb_logger.py:17
FunctionChoice
Can be used to sample random parameter values.
lib/test/utils/params.py:41
Method__add__
(self, other)
lib/test/evaluation/data.py:165
Method__call__
(self, func)
lib/utils/variable_hook.py:12
Method__call__
(self, **inputs)
lib/train/data/transforms.py:43
Method__call__
(self, **inputs)
lib/train/data/transforms.py:95
Method__call__
(self, data: TensorDict)
lib/train/data/processing.py:34
Method__call__
args: data - The input data, should contain the following fields: 'template_images', search_images', 'template_an
lib/train/data/processing.py:85
Method__call__
Called in each training iteration. Should pass in input data through the network, calculate the loss, and return the training stats for the i
lib/train/actors/base_actor.py:16
Method__call__
args: data - The input data, should contain the fields 'template', 'search', 'gt_bbox'. template_images: (N_t, batch,
lib/train/actors/ostrack.py:20
Method__deepcopy__
(self, memodict={})
lib/utils/tensor.py:17
Method__deepcopy__
(self, memodict={})
lib/utils/tensor.py:47
Method__ge__
(self, other)
lib/utils/tensor.py:174
Method__getattr__
(self, attr)
lib/utils/misc.py:171
Method__getattr__
(self, name)
lib/utils/tensor.py:20
Method__getattr__
(self, name)
lib/utils/tensor.py:206
Method__getattr__
(self, item)
lib/train/admin/multigpu.py:10
Method__getitem__
(self, item)
lib/utils/tensor.py:50
Method__getitem__
(self, item)
lib/test/evaluation/data.py:152
Method__getitem__
Not to be used! Check get_frames() instead.
lib/train/dataset/base_video_dataset.py:30
Method__getitem__
Not to be used! Check get_frames() instead.
lib/train/dataset/base_image_dataset.py:29
Method__getitem__
(self, index)
lib/train/data/sampler.py:94
Method__iadd__
(self, other)
lib/utils/tensor.py:68
Method__imatmul__
(self, other)
lib/utils/tensor.py:144
Method__imul__
(self, other)
lib/utils/tensor.py:106
Method__init__
(self, window_size=20, fmt=None)
lib/utils/misc.py:32
Method__init__
(self, delimiter="\t")
lib/utils/misc.py:160
Method__init__
(self, tensors, mask: Optional[Tensor])
lib/utils/misc.py:285
Method__init__
(self, varname)
lib/utils/variable_hook.py:9
Method__init__
(self, alpha=2, beta=4)
lib/utils/focal_loss.py:9
Method__init__
(self, list_of_tensors = None)
lib/utils/tensor.py:42
Method__init__
(self, visdom, show_data, title)
lib/vis/visdom_cus.py:39
Method__init__
(self, visdom, show_data, title)
lib/vis/visdom_cus.py:70
← previousnext →301–400 of 788, ranked by callers