MCPcopy Create free account

hub / github.com/KuofengGao/Verbose_Images / functions

Functions3,633 in github.com/KuofengGao/Verbose_Images

Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_t5.py:1503
Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_t5.py:1710
Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_t5.py:2001
Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_opt.py:571
Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_opt.py:826
Methodget_input_embeddings
(self)
lavis/models/blip2_models/modeling_opt.py:912
Methodget_intermediate_layers
(self, x)
lavis/models/eva_vit.py:354
Methodget_local_path
Download a file from ``filepath`` and return a temporary path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:300
Methodget_local_path
Only for unified API and do nothing.
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:633
Methodget_local_path
Download a file from ``filepath``. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It can be called with ``with`
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:703
Methodget_local_path
Download data from ``filepath`` and write the data to local path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:1095
Functionget_loss
(args)
lavis/models/ulip_models/ULIP_models.py:184
Methodget_loss
(self, ret, gt)
lavis/models/ulip_models/pointbert/dvae.py:313
Methodget_loss_acc
(self, pred, gt, smoothing=True)
lavis/models/ulip_models/pointbert/point_encoder.py:158
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:162
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:193
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:220
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:233
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:252
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:266
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:314
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:368
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:485
Methodget_lr
(self, runner, base_lr)
lavis/common/annotator/uniformer/mmcv/runner/hooks/lr_updater.py:614
Functionget_metric_names
(model)
lavis/models/ulip_models/ULIP_models.py:188
Functionget_model
(model)
lavis/models/ulip_models/utils/utils.py:42
Functionget_model_complexity_info
Get complexity information of a model. This method can calculate FLOPs and parameter counts of a model with corresponding input shape. It can
lavis/common/annotator/uniformer/mmcv/cnn/utils/flops_counter.py:36
Methodget_momentum
(self, runner, base_momentum)
lavis/common/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:181
Methodget_momentum
(self, runner, base_momentum)
lavis/common/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:210
Methodget_momentum
(self, runner, base_momentum)
lavis/common/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:286
Methodget_momentum
(self, epoch=None)
lavis/models/ulip_models/pointbert/misc.py:163
Methodget_num_layer
(self, var_name="")
lavis/models/clip_vit.py:187
Methodget_optimizer_params
(self, weight_decay, lr_scale=1)
lavis/models/blip2_models/blip2.py:105
Methodget_optimizer_params
(self, weight_decay, lr_scale=1)
lavis/models/blip2_models/blip2_vicuna_xinstruct.py:2128
Methodget_output_embeddings
(self)
lavis/models/med.py:1018
Methodget_output_embeddings
(self)
lavis/models/med.py:1144
Methodget_output_embeddings
(self)
lavis/models/blip2_models/Qformer.py:981
Methodget_output_embeddings
(self)
lavis/models/blip2_models/Qformer.py:1144
Methodget_output_embeddings
(self)
lavis/models/blip2_models/modeling_llama.py:627
Methodget_output_embeddings
(self)
lavis/models/blip2_models/modeling_t5.py:1721
Methodget_output_embeddings
(self)
lavis/models/blip2_models/modeling_opt.py:918
Functionget_padding_value
(padding, kernel_size, **kwargs)
lavis/models/timesformer/vit_utils.py:105
Methodget_pc_path
(self, sample_key)
lavis/datasets/datasets/object3d_captioning_datasets.py:63
Methodget_pc_path
(self, sample_key)
lavis/datasets/datasets/object3d_captioning_datasets.py:109
Methodget_pc_path
(self, sample_key)
lavis/datasets/datasets/object3d_captioning_datasets.py:146
Methodget_pc_path
(self, sample_key)
lavis/datasets/datasets/object3d_qa_datasets.py:28
Methodget_pc_path
(self, ann, entity_index)
lavis/datasets/datasets/discriminatory_reasoning_datasets.py:98
Functionget_ptcloud_img
(ptcloud)
lavis/models/ulip_models/pointbert/misc.py:225
Methodget_query_outputs
( self, samples )
lavis/models/blip2_models/blip2_vicuna_xinstruct.py:896
Methodget_regular_momentum
(self, runner)
lavis/common/annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:479
Functionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler will
lavis/models/ulip_models/utils/logger.py:6
Functionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler will
lavis/models/ulip_models/pointbert/logger.py:6
Methodget_runner_class
(cls, name)
lavis/common/registry.py:252
Methodget_text
(self, filepath)
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:43
Methodget_text
(self, filepath, encoding=None)
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:81
Methodget_text
Read data from a given ``filepath`` with 'r' mode. Args: filepath (str or Path): Path to read data. encoding (str): T
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:164
Methodget_text
(self, filepath, encoding=None)
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:447
Methodget_text
(self, filepath, encoding=None)
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:499
Methodget_text
Read data from a given ``filepath`` with 'r' mode. Args: filepath (str or Path): Path to read data. encoding (str): T
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:521
Methodget_text
(self, filepath, encoding='utf-8')
lavis/common/annotator/uniformer/mmcv/fileio/file_client.py:698
Methodget_video_path
(self, ann)
lavis/datasets/datasets/audio_captioning_datasets.py:73
Methodget_video_path
(self, sample_key)
lavis/datasets/datasets/avsd_dialogue_datasets.py:200
Methodget_video_path
(self, ann)
lavis/datasets/datasets/vatex_captioning_datasets.py:49
Methodget_video_path
(self, ann, entity_index)
lavis/datasets/datasets/discriminatory_reasoning_datasets.py:87
Methodget_video_path
(self, ann)
lavis/datasets/datasets/music_avqa.py:43
Methodget_video_path
(self, ann)
lavis/datasets/datasets/valor_caption.py:49
Methodget_video_path
(self, ann)
lavis/datasets/datasets/yt8m_video_dialogue_datasets.py:43
Methodget_video_path
(self, ann)
lavis/datasets/datasets/audio_classification_datasets.py:75
Methodglobal_avg
(self)
lavis/common/logger.py:61
Functiongray2rgb
Convert a grayscale image to RGB image. Args: img (ndarray): The input image. Returns: ndarray: The converted RGB image.
lavis/common/annotator/uniformer/mmcv/image/colorspace.py:70
FunctionhandDetect
(candidate, subset, oriImg)
lavis/common/annotator/openpose/util.py:94
Methodheight
int: Height of video frames.
lavis/common/annotator/uniformer/mmcv/video/io.py:95
Functionhflip
Args: clip (torch.tensor): Video clip to be normalized. Size is (C, T, H, W) Returns: flipped clip (torch.tensor): Size is (C
lavis/processors/functional_video.py:112
Methodhooks
list[:obj:`Hook`]: A list of registered hooks.
lavis/common/annotator/uniformer/mmcv/runner/base_runner.py:155
Functionidentity_func
(img)
lavis/processors/randaugment.py:15
Functionimconvert
Convert an image from the src colorspace to dst colorspace. Args: img (ndarray): The input image. src (str): The source colorspac
lavis/common/annotator/uniformer/mmcv/image/colorspace.py:6
Functionimcrop
Crop image patches. 3 steps: scale the bboxes -> clip bboxes -> crop and pad. Args: img (ndarray): Image to be cropped. bbox
lavis/common/annotator/uniformer/mmcv/image/geometric.py:386
Functionimdenormalize
(img, mean, std, to_bgr=True)
lavis/common/annotator/uniformer/mmcv/image/photometric.py:48
Functionimequalize
Equalize the image histogram. This function applies a non-linear mapping to the input image, in order to create a uniform distribution of gra
lavis/common/annotator/uniformer/mmcv/image/photometric.py:131
Functionimflip
Flip an image horizontally or vertically. Args: img (ndarray): Image to be flipped. direction (str): The flip direction, either "
lavis/common/annotator/uniformer/mmcv/image/geometric.py:252
Functionimflip_
Inplace flip an image horizontally or vertically. Args: img (ndarray): Image to be flipped. direction (str): The flip direction,
lavis/common/annotator/uniformer/mmcv/image/geometric.py:272
Functionimfrombytes
Read an image from bytes. Args: content (bytes): Image bytes got from files or other streams. flag (str): Same as :func:`imread`.
lavis/common/annotator/uniformer/mmcv/image/io.py:203
Functioniminvert
Invert (negate) an image. Args: img (ndarray): Image to be inverted. Returns: ndarray: The inverted image.
lavis/common/annotator/uniformer/mmcv/image/photometric.py:59
Functionimnormalize
Normalize an image with mean and std. Args: img (ndarray): Image to be normalized. mean (ndarray): The mean to be used for normal
lavis/common/annotator/uniformer/mmcv/image/photometric.py:9
Functionimpad_to_multiple
Pad an image to ensure each edge to be multiple to some number. Args: img (ndarray): Image to be padded. divisor (int): Padded im
lavis/common/annotator/uniformer/mmcv/image/geometric.py:522
Functionimrescale
Resize image while keeping the aspect ratio. Args: img (ndarray): The input image. scale (float | tuple[int]): The scaling factor
lavis/common/annotator/uniformer/mmcv/image/geometric.py:221
Functionimresize_like
Resize image to the same size of a given image. Args: img (ndarray): The input image. dst_img (ndarray): The target image.
lavis/common/annotator/uniformer/mmcv/image/geometric.py:162
Functionimresize_to_multiple
Resize image according to a given size or scale factor and then rounds up the the resized or rescaled image size to the nearest value that can be
lavis/common/annotator/uniformer/mmcv/image/geometric.py:98
Functionimrotate
Rotate an image. Args: img (ndarray): Image to be rotated. angle (float): Rotation angle in degrees, positive values mean
lavis/common/annotator/uniformer/mmcv/image/geometric.py:292
Functionimshear
Shear an image. Args: img (ndarray): Image to be sheared with format (h, w) or (h, w, c). magnitude (int | float): Th
lavis/common/annotator/uniformer/mmcv/image/geometric.py:611
Functionimshow_bboxes
Draw bboxes on an image. Args: img (str or ndarray): The image to be displayed. bboxes (list or ndarray): A list of ndarray of sh
lavis/common/annotator/uniformer/mmcv/visualization/image.py:30
Functionimshow_det_bboxes
Draw bboxes and class labels (with scores) on an image. Args: img (str or ndarray): The image to be displayed. bboxes (ndarray):
lavis/common/annotator/uniformer/mmcv/visualization/image.py:84
Functionimtranslate
Translate an image. Args: img (ndarray): Image to be translated with format (h, w) or (h, w, c). offset (int | float)
lavis/common/annotator/uniformer/mmcv/image/geometric.py:680
Methodinference_step
(self)
lavis/tasks/base_task.py:82
Methodinit
(m)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:181
Methodinit
(m)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:267
Methodinit
(m)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:320
Methodinit
(m)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:365
Methodinit
(m)
lavis/common/annotator/uniformer/mmcv/cnn/utils/weight_init.py:425
Methodinit_audio_encoder
( self, model_name, precision, **kwargs )
lavis/models/blip2_models/blip2_vicuna_xinstruct.py:872
← previousnext →3,101–3,200 of 3,633, ranked by callers