MCPcopy Create free account

hub / github.com/IrisRainbowNeko/genshin_voice_play / functions

Functions1,474 in github.com/IrisRainbowNeko/genshin_voice_play

↓ 449 callersFunctionprint
(*args, **kwargs)
xvlm/utils/__init__.py:300
↓ 206 callersMethodget
Get the buffer of a specific item. Args: item (str): The demanded item. ids (list[int]): The demanded ids.
mmtracking/mmtrack/models/trackers/base_tracker.py:145
↓ 173 callersMethodsize
(self)
xvlm/refTools/evaluation/bleu/bleu_scorer.py:158
↓ 54 callersMethodupdate
Run Kalman filter correction step. Args: mean (ndarray): The predicted state's mean vector (8 dimensional). covarianc
mmtracking/mmtrack/models/motion/kalman_filter.py:131
↓ 38 callersMethodupdate
(self, **kwargs)
xvlm/utils/__init__.py:167
↓ 37 callersMethodcopy
copy the refs.
xvlm/refTools/evaluation/bleu/bleu_scorer.py:93
↓ 34 callersMethodadd_meter
(self, name, meter)
xvlm/utils/__init__.py:202
↓ 32 callersFunctiondigit_version
Convert a version string into a tuple of integers. This method is usually used for comparing two versions. For pre-release versions: alpha <
mmtracking/mmtrack/__init__.py:16
↓ 29 callersMethodextract_feat
Extract the features of the input image. Args: img (Tensor): image of shape (N, C, H, W). Returns: tuple(Ten
mmtracking/mmtrack/models/sot/stark.py:81
↓ 26 callersMethodstep
(self, bbox, enemy)
control/FollowController.py:18
↓ 25 callersMethodforward
(self, x)
mmtracking/tests/test_data/test_datasets/test_common.py:107
↓ 24 callersMethodinit_weights
Initialize the weights of modules in single object tracker.
mmtracking/mmtrack/models/sot/stark.py:65
↓ 23 callersMethod__init__
(self, config, layer_num)
xvlm/models/xbert.py:451
↓ 23 callersMethodbackward
(ctx, grad_output)
xvlm/models/xvlm.py:38
↓ 22 callersFunction_demo_mm_inputs
Create a superset of inputs needed to run test or train batches. Args: input_shape (tuple): input batch dimensions n
mmtracking/tests/test_models/test_forward/utils.py:47
↓ 22 callersMethodmax
(self)
xvlm/utils/__init__.py:146
↓ 21 callersMethodlog_every
(self, iterable, print_freq, header=None, dataset_len=None, epoch_info=None)
xvlm/utils/__init__.py:205
↓ 20 callersMethodloadtxt
(self, filepath, dtype=float, delimiter=None,
mmtracking/mmtrack/datasets/base_sot_dataset.py:102
↓ 19 callersFunctionbuild_model
Build model.
mmtracking/mmtrack/models/builder.py:32
↓ 19 callersFunctionhexists
hdfs capable to check whether a file_path is exists
xvlm/utils/hdfs_io.py:83
↓ 18 callersFunctionhmkdir
hdfs mkdir
xvlm/utils/hdfs_io.py:90
↓ 17 callersMethod__init__
(self, config, layer_num)
xvlm/models/xroberta.py:400
↓ 14 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
mmtracking/mmtrack/models/vid/base.py:203
↓ 14 callersFunctioncreate_loader
(datasets, samplers, batch_size, num_workers, is_trains, collate_fns)
xvlm/dataset/__init__.py:202
↓ 14 callersFunctionouts2results
Convert tracking/detection results to a list of numpy arrays. Args: bboxes (torch.Tensor | np.ndarray): shape (n, 5) labels (torc
mmtracking/mmtrack/core/track/transforms.py:51
↓ 13 callersFunctioncreate_sampler
(datasets, shuffles, num_tasks, global_rank)
xvlm/dataset/__init__.py:194
↓ 13 callersMethodevaluate
(self, results, metric=['bbox', 'track'], logger=None,
mmtracking/mmtrack/datasets/tao_dataset.py:195
↓ 13 callersMethodglobal_avg
(self)
xvlm/utils/__init__.py:190
↓ 13 callersFunctionload_pretrained
(ckpt_rpath, config, is_eval=False, load_text=False)
xvlm/models/xvlm.py:204
↓ 13 callersMethodsynchronize_between_processes
(self)
xvlm/utils/__init__.py:198
↓ 12 callersFunction_isArrayLike
(obj)
mmtracking/mmtrack/core/evaluation/ytvis.py:39
↓ 12 callersFunctioncreate_dataset
(dataset, config, evaluate=False)
xvlm/dataset/__init__.py:16
↓ 12 callersFunctioncreate_optimizer
(args, model)
xvlm/optim.py:4
↓ 12 callersFunctioncreate_scheduler
(args, optimizer)
xvlm/scheduler.py:4
↓ 12 callersFunctionhcopy
hdfs copy
xvlm/utils/hdfs_io.py:100
↓ 12 callersMethodinfo
Print information about the VQA annotation file. :return:
xvlm/vqaTools/vqa.py:63
↓ 12 callersMethodloss
Compute loss. Args: track_results (dict): it may contains the following keys: - 'pred_bboxes': bboxes of (N, num_
mmtracking/mmtrack/models/track_heads/stark_head.py:474
↓ 11 callersFunctionembed_similarity
Calculate feature similarity from embeddings. Args: key_embeds (Tensor): Shape (N1, C). ref_embeds (Tensor): Shape (N2, C).
mmtracking/mmtrack/core/track/similarity.py:6
↓ 11 callersMethodloadAnns
Load anns with the specified ids. :param ids (int array) : integer ids specifying anns :return: anns (object array) : loaded an
mmtracking/mmtrack/core/evaluation/ytvis.py:190
↓ 11 callersMethodnorm
Normalization.
mmtracking/mmtrack/models/reid/fc_module.py:56
↓ 10 callersFunction_get_config_module
Load a configuration as a python module.
mmtracking/tests/test_models/test_forward/utils.py:24
↓ 10 callersMethodget_targets
Calculate the ground truth for all samples in a batch according to the sampling_results. Args: sampling_results (List[obj
mmtracking/mmtrack/models/track_heads/roi_embed_head.py:183
↓ 10 callersFunctionresults2outs
Restore the results (list of results of each category) into the results of the model forward. Args: bbox_results (list[np.ndarray]):
mmtracking/mmtrack/core/track/transforms.py:121
↓ 9 callersFunctionget_dist_launch
(args)
xvlm/run.py:37
↓ 9 callersFunctionpre_caption
(caption, max_words)
xvlm/dataset/utils.py:32
↓ 8 callersFunction_build_demo_runner
()
mmtracking/tests/test_data/test_datasets/test_common.py:99
↓ 8 callersMethod_parse_ann_info
Parse person id annotations.
mmtracking/mmtrack/datasets/reid_dataset.py:48
↓ 8 callersMethodbert
(self, input_ids=None, attention_mask=None, token_type_ids=None, position_ids=None,
xvlm/models/xroberta.py:1173
↓ 8 callersFunctionflow_warp_feats
Use flow to warp feature map. Args: x (Tensor): of shape (N, C, H_x, W_x). flow (Tensor): of shape (N, C, H_f, W_f). Returns
mmtracking/mmtrack/core/motion/flow.py:5
↓ 8 callersFunctionget_from_hdfs
compatible to HDFS path or local path
xvlm/run.py:65
↓ 8 callersMethodget_vision_embeds
vision_embeds: cls + patch embeds
xvlm/models/xvlm.py:297
↓ 8 callersMethodload_pretrained
(self, ckpt_rpath, config, is_eval=False)
xvlm/models/xvlm.py:290
↓ 8 callersMethodreset
Reset the buffer of the tracker.
mmtracking/mmtrack/models/trackers/base_tracker.py:36
↓ 8 callersMethodsave_checkpoint
Save ckpt to local or HDFS
xvlm/utils/checkpointer.py:26
↓ 8 callersMethodset_epoch
(self, epoch)
mmtracking/mmtrack/datasets/samplers/quota_sampler.py:88
↓ 8 callersMethodtranspose_for_scores
(self, x)
xvlm/models/xbert.py:261
↓ 8 callersMethodtranspose_for_scores
(self, x)
xvlm/models/xroberta.py:200
↓ 7 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
xvlm/models/vit.py:16
↓ 7 callersFunctionbuild_tracker
Build tracker.
mmtracking/mmtrack/models/builder.py:12
↓ 7 callersMethodupdate
Update the tracker. Args: kwargs (dict[str: Tensor | int]): The `str` indicates the name of the input variable. `
mmtracking/mmtrack/models/trackers/base_tracker.py:56
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
xvlm/models/swin_transformer.py:18
↓ 6 callersFunctionbbox_xyxy_to_cxcyah
Convert bbox coordinates from (x1, y1, x2, y2) to (cx, cy, ratio, h). Args: bbox (Tensor): Shape (n, 4) for bboxes. Returns:
mmtracking/mmtrack/core/bbox/transforms.py:69
↓ 6 callersFunctionbuild_dataloader
Build PyTorch DataLoader. In distributed training, each GPU/process has a dataloader. In non-distributed training, there is only one dataload
mmtracking/mmtrack/datasets/builder.py:21
↓ 6 callersFunctioncollect_result
(result, filename, local_wdir, hdfs_wdir, write_to_hdfs=False, save_result=False, remove_duplicate='', do_not_
xvlm/dataset/utils.py:102
↓ 6 callersFunctioncollect_tensor_result
(result, filename, local_wdir, hdfs_wdir, write_to_hdfs=False)
xvlm/dataset/utils.py:141
↓ 6 callersFunctioncomputeIoU
(box1, box2)
xvlm/dataset/utils.py:405
↓ 6 callersMethodcompute_score
(self, option=None, verbose=0)
xvlm/refTools/evaluation/bleu/bleu_scorer.py:199
↓ 6 callersMethodget_ann_info
Get COCO annotations by the information of image. Args: img_info (int): Information of image. Returns: dict:
mmtracking/mmtrack/datasets/coco_video_dataset.py:225
↓ 6 callersMethodget_cross_embeds
(self, image_embeds, image_atts, text_ids=None, text_embeds=None, text_atts=None)
xvlm/models/xvlm.py:334
↓ 6 callersFunctionget_root_logger
Get root logger. Args: log_file (str): File path of log. Defaults to None. log_level (int): The level of logger. Defaults to logg
mmtracking/mmtrack/utils/logger.py:7
↓ 6 callersFunctioninit_model
Initialize a model from config file. Args: config (str or :obj:`mmcv.Config`): Config file path or the config object.
mmtracking/mmtrack/apis/inference.py:17
↓ 6 callersMethodpre_pipeline
Prepare results dict for pipeline. The following keys in dict will be called in the subsequent pipeline.
mmtracking/mmtrack/datasets/base_sot_dataset.py:257
↓ 6 callersMethodpredict
(self, image:np.ndarray, text:str)
xvlm/Interface.py:59
↓ 6 callersMethodprepare_data
Prepare sampled training data according to the sampled index. Args: video_info (dict): the video information. It contains the key
mmtracking/mmtrack/datasets/pipelines/processing.py:296
↓ 6 callersMethodshow_result
Draw `result` over `img`. Args: img (str or Tensor): The image to be displayed. result (dict): The results to draw ov
mmtracking/mmtrack/models/vid/base.py:288
↓ 6 callersMethodsimple_test
Test without augmentations.
mmtracking/mmtrack/models/track_heads/roi_track_head.py:169
↓ 6 callersMethodtrack
Track the box `bbox` of previous frame to current frame `img`. Args: img (Tensor): of shape (1, C, H, W). bbox (list
mmtracking/mmtrack/models/sot/stark.py:266
↓ 6 callersMethodvalue
(self)
xvlm/utils/__init__.py:150
↓ 5 callersMethod__init__
(self, hidden_act, hidden_size, intermediate_size)
xvlm/models/clip_vit.py:176
↓ 5 callersFunction_create_coco_gt_results
(dataset)
mmtracking/tests/test_data/test_datasets/utils.py:7
↓ 5 callersMethodbackward_step
(self, loss: torch.Tensor)
xvlm/accelerators/accelerator.py:26
↓ 5 callersFunctionbuild_motion
Build motion model.
mmtracking/mmtrack/models/builder.py:17
↓ 5 callersMethodcrop_imgs
Crop the images according to some bounding boxes. Typically for re- identification sub-module. Args: img (Tensor): of sha
mmtracking/mmtrack/models/trackers/base_tracker.py:185
↓ 5 callersMethodformat_results
Format the results to json (standard format for TAO evaluation). Args: results (list[ndarray]): Testing results of the dataset.
mmtracking/mmtrack/datasets/tao_dataset.py:160
↓ 5 callersFunctionhopen
open a file on hdfs with contextmanager. Args: mode (str): supports ["r", "w", "wa"]
xvlm/utils/hdfs_io.py:24
↓ 5 callersMethodoptimizer_step
(self, optimizer: Optimizer, model: Net, grad_norm: float)
xvlm/accelerators/accelerator.py:29
↓ 5 callersFunctionparse_attribute
Parse attribute of each video in VOT. Args: video_path (str): The path of video. attr_name (str): The name of video's attribute.
mmtracking/tools/convert_datasets/vot/vot2coco.py:37
↓ 5 callersFunctionparse_requirements
Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r
mmtracking/setup.py:53
↓ 5 callersMethodprepare_data
Prepare sampled training data according to the sampled index. Args: video_info (dict): the video information. It contains the key
mmtracking/mmtrack/datasets/pipelines/processing.py:143
↓ 5 callersMethodreset
(self, init_bbox)
mmtracking/Interface.py:21
↓ 5 callersFunctionrun_refcoco
(args, use_bbox=False, block_num=-1, load_bbox_pretrain=False, epochs=-1)
xvlm/run.py:167
↓ 5 callersMethodstep
Step forward with the velocity.
mmtracking/mmtrack/models/motion/linear_motion.py:44
↓ 4 callersMethodannToRLE
Convert annotation which can be polygons, uncompressed RLE to RLE. :return: binary mask (numpy 2D array)
mmtracking/mmtrack/core/evaluation/ytvis.py:276
↓ 4 callersMethodbroadcast
(self)
xvlm/accelerators/accelerator.py:23
↓ 4 callersFunctioncoco_caption_eval
(annotation_file, results_file)
xvlm/dataset/utils.py:424
↓ 4 callersFunctionenhance_level_to_args
(MAX_LEVEL)
xvlm/dataset/randaugment.py:208
↓ 4 callersMethodextract_bbox_feats
Extract roi features.
mmtracking/mmtrack/models/track_heads/quasi_dense_track_head.py:118
↓ 4 callersMethodgenerate
(self, image, sample=False, num_beams=1, max_length=30, min_length=10, top_p=0.9, repetition_
xvlm/models/model_captioning.py:75
↓ 4 callersMethodgetAnnIds
Get ann ids that satisfy given filter conditions. default skips that filter. :param vidIds (int array) : get anns for given vids
mmtracking/mmtrack/core/evaluation/ytvis.py:104
↓ 4 callersMethodget_ann_infos_from_video
Get bboxes annotation about the instance in a video. Args: video_ind (int): video index Returns: ndarray: in
mmtracking/mmtrack/datasets/vot_dataset.py:82
next →1–100 of 1,474, ranked by callers