MCPcopy Create free account

hub / github.com/KuofengGao/Verbose_Images / functions

Functions3,633 in github.com/KuofengGao/Verbose_Images

↓ 1 callersMethod_get_input_buffer
( self, incremental_state: Optional[Dict[str, Dict[str, Optional[Tensor]]]] )
lavis/models/beats/backbone.py:730
↓ 1 callersMethod_get_item
(self, index)
lavis/datasets/datasets/object3d_classification_datasets.py:114
↓ 1 callersMethod_get_max_memory
(self, runner)
lavis/common/annotator/uniformer/mmcv/runner/hooks/logger/text.py:109
↓ 1 callersFunction_get_norm
()
lavis/common/annotator/uniformer/mmcv/utils/parrots_wrapper.py:81
↓ 1 callersFunction_get_pool
()
lavis/common/annotator/uniformer/mmcv/utils/parrots_wrapper.py:69
↓ 1 callersFunction_get_return_layers
(feature_info, out_map)
lavis/models/timesformer/features.py:147
↓ 1 callersFunction_get_shear_matrix
Generate the shear matrix for transformation. Args: magnitude (int | float): The magnitude used for shear. direction (str): The f
lavis/common/annotator/uniformer/mmcv/image/geometric.py:593
↓ 1 callersFunction_get_translate_matrix
Generate the translate matrix. Args: offset (int | float): The offset used for translate. direction (str): The translate directio
lavis/common/annotator/uniformer/mmcv/image/geometric.py:662
↓ 1 callersMethod_get_video
If video does not exist, loop to the next one.
lavis/datasets/datasets/video_caption_datasets.py:144
↓ 1 callersMethod_has_inf_or_nan
Check if params contain NaN.
lavis/common/annotator/uniformer/mmcv/runner/fp16_utils.py:358
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
lavis/common/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:49
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
lavis/common/annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:43
↓ 1 callersFunction_init_dist_mpi
(backend, **kwargs)
lavis/common/annotator/uniformer/mmcv/runner/dist_utils.py:35
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
lavis/common/annotator/uniformer/mmcv/runner/dist_utils.py:27
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
lavis/common/annotator/uniformer/mmcv/runner/dist_utils.py:43
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
lavis/common/annotator/uniformer/mmseg/models/decode_heads/decode_head.py:95
↓ 1 callersFunction_initialize_override
(module, override, cfg)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:520
↓ 1 callersMethod_inversion_transform
(self, image, target_size=512)
lavis/models/blip_diffusion_models/blip_diffusion.py:363
↓ 1 callersMethod_is_in
(self, param_group, param_group_list)
lavis/common/annotator/uniformer/mmcv/runner/optimizer/default_constructor.py:128
↓ 1 callersMethod_lemmatize
(self, answers)
lavis/models/blip2_models/blip2_t5_instruct.py:698
↓ 1 callersMethod_lemmatize
(self, answers)
lavis/models/blip2_models/blip2_t5.py:314
↓ 1 callersMethod_lemmatize
(self, answers)
lavis/models/blip2_models/blip2_vicuna_instruct.py:658
↓ 1 callersMethod_lemmatize
(self, answers)
lavis/models/blip2_models/blip2_vicuna_xinstruct.py:2091
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
lavis/common/annotator/uniformer/mmcv_custom/checkpoint.py:225
↓ 1 callersMethod_load_checkpoint
Resume from a checkpoint.
lavis/runners/runner_iter.py:195
↓ 1 callersMethod_load_checkpoint
Resume from a checkpoint.
lavis/runners/runner_base.py:634
↓ 1 callersFunction_load_checkpoint_with_prefix
Load partial pretrained model with specific prefix. Args: prefix (str): The prefix of sub-module. filename (str): Accept local fi
lavis/common/annotator/uniformer/mmcv/runner/checkpoint.py:470
↓ 1 callersMethod_load_pretrained_model
(self)
lavis/common/annotator/mlsd/models/mbv2_mlsd_large.py:236
↓ 1 callersFunction_load_weights
Load weights from .npz checkpoints for official Google Brain Flax implementation
lavis/models/vit.py:289
↓ 1 callersMethod_log_info
(self, log_dict, runner)
lavis/common/annotator/uniformer/mmcv/runner/hooks/logger/text.py:119
↓ 1 callersMethod_make_branches
Build multiple branch.
lavis/common/annotator/uniformer/mmseg/models/backbones/hrnet.py:109
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
lavis/models/blip2_models/modeling_llama.py:42
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
lavis/models/blip2_models/modeling_opt.py:72
↓ 1 callersFunction_make_efficientnet_backbone
(effnet)
lavis/common/annotator/midas/midas/blocks.py:88
↓ 1 callersMethod_make_fuse_layers
Build fuse layer.
lavis/common/annotator/uniformer/mmseg/models/backbones/hrnet.py:119
↓ 1 callersMethod_make_layer
(self)
lavis/common/annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:104
↓ 1 callersMethod_make_layer
Make each layer.
lavis/common/annotator/uniformer/mmseg/models/backbones/hrnet.py:418
↓ 1 callersMethod_make_one_branch
Build one branch.
lavis/common/annotator/uniformer/mmseg/models/backbones/hrnet.py:64
↓ 1 callersFunction_make_pretrained_efficientnet_lite3
(use_pretrained, exportable=False)
lavis/common/annotator/midas/midas/blocks.py:78
↓ 1 callersFunction_make_pretrained_resnext101_wsl
(use_pretrained)
lavis/common/annotator/midas/midas/blocks.py:114
↓ 1 callersFunction_make_pretrained_vitb16_384
(pretrained, use_readout="ignore", hooks=None)
lavis/common/annotator/midas/midas/vit.py:310
↓ 1 callersFunction_make_pretrained_vitb_rn50_384
( pretrained, use_readout="ignore", hooks=None, use_vit_only=False )
lavis/common/annotator/midas/midas/vit.py:478
↓ 1 callersFunction_make_pretrained_vitl16_384
(pretrained, use_readout="ignore", hooks=None)
lavis/common/annotator/midas/midas/vit.py:297
↓ 1 callersFunction_make_resnet_backbone
(resnet)
lavis/common/annotator/midas/midas/blocks.py:101
↓ 1 callersMethod_make_stem_layer
Make stem layer for ResNet.
lavis/common/annotator/uniformer/mmseg/models/backbones/resnet.py:532
↓ 1 callersFunction_make_vit_b_rn50_backbone
( model, features=[256, 512, 768, 768], size=[384, 384], hooks=[0, 1, 8, 11], vit_features
lavis/common/annotator/midas/midas/vit.py:343
↓ 1 callersFunction_minimal_ext_cmd
(cmd)
lavis/common/annotator/uniformer/mmcv/utils/version_utils.py:50
↓ 1 callersFunction_natural_key
(string_)
lavis/models/clip_models/model.py:892
↓ 1 callersFunction_no_grad_trunc_normal_
Reference: https://people.sc.fsu.edu/~jburkardt/presentations /truncated_normal.pdf
lavis/common/annotator/uniformer/mmseg/models/utils/weight_init.py:10
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor: Tensor, mean: float, std: float, a: float, b: float)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:622
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
lavis/models/timesformer/vit_utils.py:31
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor, mean, std, a, b)
lavis/models/clip_models/timm_model.py:506
↓ 1 callersMethod_noise_latent_step
( self, latents, t, text_embeddings, guidance_scale, height,
lavis/models/blip_diffusion_models/blip_diffusion.py:751
↓ 1 callersFunction_ntuple
(n)
lavis/models/clip_vit.py:198
↓ 1 callersFunction_ntuple
(n)
lavis/models/timesformer/vit_utils.py:88
↓ 1 callersMethod_output_size
(ctx, input, weight)
lavis/common/annotator/uniformer/mmcv/ops/modulated_deform_conv.py:137
↓ 1 callersMethod_output_size
(ctx, input1)
lavis/common/annotator/uniformer/mmcv/ops/correlation.py:96
↓ 1 callersMethod_output_size
(ctx, input, weight)
lavis/common/annotator/uniformer/mmcv/ops/deform_conv.py:173
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
lavis/common/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:321
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
lavis/common/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:334
↓ 1 callersMethod_parse_int_float_bool
(val)
lavis/common/annotator/uniformer/mmcv/utils/config.py:607
↓ 1 callersMethod_parse_iterable
Parse iterable values in the string. All elements inside '()' or '[]' are treated as iterable values. Args: val (str): V
lavis/common/annotator/uniformer/mmcv/utils/config.py:621
↓ 1 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
lavis/common/annotator/uniformer/mmseg/models/segmentors/base.py:173
↓ 1 callersMethod_pos_embeding
Positiong embeding method. Resize the pos_embed, if the input image size doesn't match the training size. Args:
lavis/common/annotator/uniformer/mmseg/models/backbones/vit.py:359
↓ 1 callersMethod_pre_substitute_base_vars
Substitute base variable placehoders to string, so that parsing would work.
lavis/common/annotator/uniformer/mmcv/utils/config.py:128
↓ 1 callersMethod_prepare_data
(self)
lavis/datasets/datasets/object3d_classification_datasets.py:74
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds, past_key_values_length)
lavis/models/blip2_models/modeling_llama.py:459
↓ 1 callersMethod_prepare_decoder_attention_mask
( self, attention_mask, input_shape, inputs_embeds, past_key_values_length )
lavis/models/blip2_models/modeling_opt.py:578
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
lavis/common/annotator/uniformer/mmcv/runner/checkpoint.py:151
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
lavis/common/annotator/uniformer/mmcv_custom/checkpoint.py:214
↓ 1 callersMethod_process_raw_data
(self)
lavis/datasets/datasets/object3d_classification_datasets.py:90
↓ 1 callersMethod_progress
(self, cur_iters)
lavis/runners/runner_iter.py:68
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/blip_models/blip_classification.py:74
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/blip_models/blip_retrieval.py:113
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/blip_models/blip_pretrain.py:111
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/albef_models/albef_vqa.py:80
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/albef_models/albef_classification.py:80
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/albef_models/albef_nlvr.py:76
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/albef_models/albef_pretrain.py:102
↓ 1 callersMethod_rampup_factor
(self, epoch, iters, num_iters_per_epoch)
lavis/models/albef_models/albef_retrieval.py:104
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
lavis/common/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:139
↓ 1 callersMethod_rank_answers
Generate the first token of answers using decoder and select ${num_ans_candidates} most probable ones. Then select answers from answe
lavis/models/blip_models/blip_vqa.py:277
↓ 1 callersMethod_read_h5
(cls, file_path)
lavis/models/ulip_models/utils/io.py:40
↓ 1 callersMethod_read_npy
(cls, file_path)
lavis/models/ulip_models/utils/io.py:24
↓ 1 callersMethod_read_pcd
(cls, file_path)
lavis/models/ulip_models/utils/io.py:30
↓ 1 callersMethod_read_txt
(cls, file_path)
lavis/models/ulip_models/utils/io.py:36
↓ 1 callersMethod_register_attention_control
(self, controller)
lavis/models/blip_diffusion_models/blip_diffusion.py:592
↓ 1 callersFunction_register_handler
Register a handler for some file extensions. Args: handler (:obj:`BaseFileHandler`): Handler to be registered. file_formats (str
lavis/common/annotator/uniformer/mmcv/fileio/io.py:126
↓ 1 callersMethod_relative_position_bucket
Adapted from Mesh Tensorflow: https://github.com/tensorflow/mesh/blob/0cb87fe07da627bf0b7e60475d59f95ed6b5be3d/mesh_tensorflow/transf
lavis/models/blip2_models/modeling_t5.py:393
↓ 1 callersMethod_relative_positions_bucket
(self, relative_positions, bidirectional=True)
lavis/models/beats/backbone.py:392
↓ 1 callersMethod_reload_best_model
Load the best checkpoint for evaluation.
lavis/runners/runner_base.py:614
↓ 1 callersMethod_report_metrics
(scores_i2t, scores_t2i, txt2img, img2txt)
lavis/tasks/retrieval.py:54
↓ 1 callersMethod_report_metrics
(self, eval_result_file, split_name)
lavis/tasks/multimodal_classification.py:116
↓ 1 callersMethod_report_metrics
TODO: add other evaluation metrics for GQA
lavis/tasks/vqa_reading_comprehension.py:193
↓ 1 callersMethod_report_metrics
Use official VQA evaluation script to report metrics.
lavis/tasks/vqa.py:167
↓ 1 callersMethod_report_metrics
(self, eval_result_file, split_name)
lavis/tasks/captioning.py:143
↓ 1 callersMethod_resize_img
Resize images with ``results['scale']``.
lavis/common/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:177
↓ 1 callersMethod_resize_seg
Resize semantic segmentation map with ``results['scale']``.
lavis/common/annotator/uniformer/mmseg/datasets/pipelines/transforms.py:199
↓ 1 callersMethod_round_float
(self, items)
lavis/common/annotator/uniformer/mmcv/runner/hooks/logger/text.py:196
↓ 1 callersMethod_save_result_leaderboard
Saving the results in the format required for leaderboard evaluation.
lavis/tasks/vqa_reading_comprehension.py:232
← previousnext →701–800 of 3,633, ranked by callers