MCPcopy Index your code

hub / github.com/botaoye/OSTrack / functions

Functions788 in github.com/botaoye/OSTrack

↓ 117 callersFunctionprint
(*args, **kwargs)
lib/utils/misc.py:370
↓ 30 callersFunction_n2p
(w, t=True)
lib/models/ostrack/vit.py:247
↓ 28 callersMethodget
(self, name, frame_num=None)
lib/test/evaluation/data.py:142
↓ 23 callersMethodmax
(self)
lib/utils/misc.py:73
↓ 21 callersMethodto
(self, device)
lib/utils/misc.py:289
↓ 20 callersFunctionconv
(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1, freeze_bn=False)
lib/models/layers/head.py:8
↓ 19 callersMethod_iterable
(a)
lib/utils/tensor.py:35
↓ 15 callersFunctiondecode_str
(lmdb_fname, key_name)
lib/utils/lmdb_utils.py:33
↓ 15 callersFunctionload_text
(path, delimiter=' ', dtype=np.float32, backend='numpy')
lib/test/utils/load_text.py:37
↓ 13 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
lib/train/data/sampler.py:60
↓ 13 callersFunctionenv_settings
()
lib/train/admin/environment.py:93
↓ 11 callersMethodregister
(self, data, mode, debug_level=0, title='Data', **kwargs)
lib/vis/visdom_cus.py:462
↓ 11 callersMethodupdate
(self, val)
lib/train/admin/stats.py:14
↓ 10 callersMethod__init__
(self, debug=0, ui_info=None, visdom_info=None, env=None)
lib/vis/visdom_cus.py:436
↓ 10 callersFunction_isArrayLike
(obj)
lib/train/dataset/COCO_tool.py:66
↓ 10 callersFunctionenv_settings
()
lib/test/evaluation/environment.py:113
↓ 10 callersMethodto
Move the network to device args: device - device to use. 'cpu' or 'cuda'
lib/train/actors/base_actor.py:28
↓ 9 callersMethodcopy
(self)
lib/test/evaluation/data.py:168
↓ 8 callersFunctionget_prec_curve
(ave_success_rate_plot_center, valid_sequence)
lib/test/analysis/plot_results.py:207
↓ 8 callersMethodload_state_dict
Loads a network checkpoint file. Can be called in three different ways: load_checkpoint(): Loads the latest epoch
lib/train/trainers/base_trainer.py:232
↓ 7 callersFunctiontrackerlist
Generate list of trackers. args: name: Name of tracking method. parameter_name: Name of parameter file. run_ids: A single
lib/test/evaluation/tracker.py:13
↓ 6 callersFunctiondecode_img
(lmdb_fname, key_name)
lib/utils/lmdb_utils.py:23
↓ 6 callersFunctionget_dataset
Get a single or set of datasets.
lib/test/evaluation/datasets.py:43
↓ 6 callersMethodget_frames
(self, seq_id, frame_ids, anno=None)
lib/train/dataset/lasot.py:150
↓ 6 callersFunctionhann1d
1D cosine window.
lib/test/utils/hann.py:6
↓ 5 callersMethod__init__
(self, *transforms)
lib/train/data/transforms.py:35
↓ 5 callersFunctionget_tracker_display_name
(tracker)
lib/test/analysis/plot_results.py:89
↓ 5 callersFunctionislist
(a)
lib/utils/tensor.py:221
↓ 4 callersFunction_convert_dict
(input_dict)
lib/test/evaluation/running.py:41
↓ 4 callersFunctioncheck_and_load_precomputed_results
(trackers, dataset, report_name, force_evaluation=False, **kwargs)
lib/test/analysis/plot_results.py:170
↓ 4 callersFunctiongenerate_formatted_report
(row_labels, scores, table_name='')
lib/test/analysis/plot_results.py:292
↓ 4 callersFunctionget_auc_curve
(ave_success_rate_plot_overlap, valid_sequence)
lib/test/analysis/plot_results.py:199
↓ 4 callersMethodinitialize
(self, image, info: dict)
lib/test/tracker/ostrack.py:50
↓ 4 callersMethodloadImgs
Load anns with the specified ids. :param ids (int array) : integer ids specifying img :return: imgs (object array) : lo
lib/train/dataset/COCO_tool.py:217
↓ 4 callersFunctionmerge_multiple_runs
(eval_data)
lib/test/analysis/plot_results.py:45
↓ 4 callersFunctionplot_draw_save
(y, x, scores, trackers, plot_draw_styles, result_plot_path, plot_opts)
lib/test/analysis/plot_results.py:102
↓ 4 callersFunctionsample_target
Extracts a square crop centered at target_bb box, of area search_area_factor^2 times target_bb area args: im - cv image target_b
lib/train/data/processing_utils.py:12
↓ 4 callersFunctionsave_bb
(file, data)
lib/test/evaluation/running.py:29
↓ 4 callersMethodsoft_argmax
get soft-argmax coordinate for a given heatmap
lib/models/layers/head.py:83
↓ 3 callersMethod_get_sequence_path
(self, seq_id)
lib/train/dataset/lasot.py:118
↓ 3 callersMethod_get_sequence_path
(self, seq_id)
lib/train/dataset/lasot_lmdb.py:114
↓ 3 callersFunction_run
(command)
lib/utils/misc.py:252
↓ 3 callersMethodannToMask
Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask. :return: binary mask (numpy 2D array)
lib/train/dataset/COCO_tool.py:430
↓ 3 callersMethodapply
(self, fn, *args, **kwargs)
lib/utils/tensor.py:31
↓ 3 callersFunctionbitget
(byteval, idx)
lib/vis/plotting.py:93
↓ 3 callersMethodcal_bbox
(self, score_map_ctr, size_map, offset_map, return_score=False)
lib/models/layers/head.py:142
↓ 3 callersFunctioncombine_tokens
(template_tokens, search_tokens, mode='direct', return_res=False)
lib/models/ostrack/utils.py:7
↓ 3 callersMethodcopy
(self)
lib/utils/tensor.py:14
↓ 3 callersMethoddraw_data
(self)
lib/vis/visdom_cus.py:54
↓ 3 callersFunctiondraw_figure
(fig)
lib/vis/plotting.py:7
↓ 3 callersFunctionget_world_size
()
lib/utils/misc.py:386
↓ 3 callersFunctionis_dist_avail_and_initialized
()
lib/utils/misc.py:378
↓ 3 callersMethodis_video_sequence
(self)
lib/train/dataset/coco_seq.py:71
↓ 3 callersMethodobject_init_data
(self, frame_num=None)
lib/test/evaluation/data.py:114
↓ 3 callersMethodsample_seq_from_dataset
(self, dataset, is_video_dataset)
lib/train/data/sampler.py:262
↓ 3 callersMethodtrain
Set whether the network is in train mode. args: mode (True) - Bool specifying whether in training mode.
lib/train/actors/base_actor.py:35
↓ 2 callersMethod__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, drop=0., attn_drop=0., drop_path=0., ac
lib/models/ostrack/vit.py:71
↓ 2 callersMethod__init__
(self, input_dim, hidden_dim, output_dim, num_layers, BN=False)
lib/models/layers/head.py:207
↓ 2 callersMethod__len__
(self)
lib/train/data/sampler.py:57
↓ 2 callersFunction_check_use_shared_memory
()
lib/train/data/loader.py:14
↓ 2 callersFunction_create_vision_transformer
(pretrained=False, **kwargs)
lib/models/ostrack/vit_ce.py:196
↓ 2 callersFunction_download_file
(file_id, path)
tracking/download_pytracking_results.py:52
↓ 2 callersMethod_get_class
(self, seq_id)
lib/train/dataset/tracking_net.py:124
↓ 2 callersMethod_get_class
(self, seq_path)
lib/train/dataset/lasot.py:140
↓ 2 callersMethod_get_class
(self, seq_path)
lib/train/dataset/lasot_lmdb.py:136
↓ 2 callersMethod_get_class
(self, seq_id)
lib/train/dataset/tracking_net_lmdb.py:120
↓ 2 callersMethod_get_sequence_path
(self, seq_id)
lib/train/dataset/got10k_lmdb.py:146
↓ 2 callersMethod_get_sequence_path
(self, seq_id)
lib/train/dataset/got10k.py:149
↓ 2 callersMethod_read_image
(self, image_file: str)
lib/test/evaluation/tracker.py:281
↓ 2 callersFunction_update_config
(base_cfg, exp_cfg)
lib/config/ostrack/config.py:123
↓ 2 callersFunctionbuild_dataloaders
(cfg, settings)
lib/train/base_functions.py:84
↓ 2 callersFunctionbuild_network
(script_name, cfg)
lib/train/train_script_distill.py:21
↓ 2 callersFunctionbuild_ostrack
(cfg, training=True)
lib/models/ostrack/ostrack.py:95
↓ 2 callersFunctioncalc_err_center
(pred_bb, anno_bb, normalized=False)
lib/test/analysis/extract_results.py:16
↓ 2 callersMethodcreateIndex
(self)
lib/train/dataset/COCO_tool.py:85
↓ 2 callersMethodcreate_tracker
(self, params)
lib/test/evaluation/tracker.py:62
↓ 2 callersFunctiondecode_json
(lmdb_fname, key_name)
lib/utils/lmdb_utils.py:40
↓ 2 callersMethodeval
Set network to eval mode
lib/train/actors/base_actor.py:42
↓ 2 callersFunctionextract_results
(trackers, dataset, report_name, skip_missing_seq=False, plot_bin_gap=0.05, exclude_invali
lib/test/analysis/extract_results.py:102
↓ 2 callersMethodframe_info
(self, frame_num)
lib/test/evaluation/data.py:96
↓ 2 callersFunctiongauss_fourier
(sz: int, sigma: float, half: bool = False)
lib/test/utils/hann.py:52
↓ 2 callersFunctiongauss_spatial
(sz, sigma, center=0, end_pad=0)
lib/test/utils/hann.py:60
↓ 2 callersFunctiongenerate_2d_concatenated_self_attention_relative_positional_encoding_index
z_shape: (z_h, z_w) x_shape: (x_h, x_w)
lib/models/layers/rpe.py:27
↓ 2 callersFunctiongenerate_mask_cond
(cfg, bs, device, gt_bbox)
lib/utils/ce_utils.py:15
↓ 2 callersMethodget_frame_ids_stark
(self, visible, valid)
lib/train/data/sampler.py:327
↓ 2 callersMethodget_frame_ids_trident
(self, visible)
lib/train/data/sampler.py:300
↓ 2 callersFunctionget_lmdb_handle
(name)
lib/utils/lmdb_utils.py:11
↓ 2 callersMethodget_name
(self)
lib/train/dataset/lasot.py:81
↓ 2 callersMethodget_one_search
(self)
lib/train/data/sampler.py:280
↓ 2 callersFunctionget_optimizer_scheduler
(net, cfg)
lib/train/base_functions.py:152
↓ 2 callersMethodget_parameters
Get parameters.
lib/test/evaluation/tracker.py:275
↓ 2 callersFunctionget_plot_draw_styles
()
lib/test/analysis/plot_results.py:12
↓ 2 callersMethodget_sequence_info
(self, seq_id)
lib/train/dataset/lasot.py:125
↓ 2 callersFunctioninit_seeds
(seed)
lib/train/run_training.py:17
↓ 2 callersMethodinit_weights
(self, mode='')
lib/models/ostrack/vit.py:168
↓ 2 callersFunctionis_main_process
()
lib/utils/misc.py:398
↓ 2 callersFunctionjpeg4py_loader
Image reading using jpeg4py https://github.com/ajkxyz/jpeg4py
lib/train/data/image_loader.py:34
↓ 2 callersMethodload_pretrained
(self, checkpoint_path, prefix='')
lib/models/ostrack/vit.py:186
↓ 2 callersFunctionnames2datasets
(name_list: list, settings, image_loader)
lib/train/base_functions.py:27
↓ 2 callersFunctionprint_results
Print the results for the given trackers in a formatted table args: trackers - List of trackers to evaluate dataset - List of seq
lib/test/analysis/plot_results.py:318
next →1–100 of 788, ranked by callers