MCPcopy Create free account

hub / github.com/boheumd/MA-LMM / functions

Functions1,238 in github.com/boheumd/MA-LMM

Method__iter__
(self)
lavis/models/__init__.py:256
Method__len__
(self)
lavis/datasets/datasets/msrvtt_vqa_datasets.py:80
Method__len__
(self)
lavis/datasets/datasets/youcook_caption_datasets.py:77
Method__len__
(self)
lavis/datasets/datasets/youcook_caption_datasets.py:167
Method__len__
(self)
lavis/datasets/datasets/breakfast_cls_datasets.py:81
Method__len__
(self)
lavis/datasets/datasets/activitynet_vqa_datasets.py:80
Method__len__
(self)
lavis/datasets/datasets/msvd_vqa_datasets.py:80
Method__len__
(self)
lavis/datasets/datasets/base_dataset.py:34
Method__len__
(self)
lavis/datasets/datasets/msrvtt_caption_datasets.py:75
Method__len__
(self)
lavis/datasets/datasets/imagefolder_dataset.py:31
Method__len__
(self)
lavis/datasets/datasets/coin_cls_datasets.py:84
Method__len__
(self)
lavis/datasets/datasets/dataloader_utils.py:73
Method__len__
(self)
lavis/datasets/datasets/dataloader_utils.py:161
Method__len__
(self)
lavis/datasets/datasets/msvd_caption_datasets.py:75
Method__len__
(self)
lavis/datasets/datasets/lvu_cls_datasets.py:88
Method__len__
(self)
lavis/models/__init__.py:259
Method__next__
(self)
lavis/datasets/datasets/dataloader_utils.py:40
Method__next__
(self)
lavis/datasets/datasets/dataloader_utils.py:145
Method__repr__
(self)
lavis/processors/alpro_processors.py:40
Method__repr__
(self)
lavis/processors/alpro_processors.py:58
Method__repr__
(self)
lavis/processors/alpro_processors.py:77
Method__repr__
(self)
lavis/processors/transforms_video.py:52
Method__repr__
(self)
lavis/processors/transforms_video.py:88
Method__repr__
(self)
lavis/processors/transforms_video.py:109
Method__repr__
(self)
lavis/processors/transforms_video.py:130
Method__repr__
(self)
lavis/processors/transforms_video.py:149
Method__repr__
(self)
lavis/processors/transforms_video.py:173
Method__repr__
(self)
lavis/processors/transforms_video.py:195
Method__repr__
(self)
lavis/processors/transforms_video.py:220
Method__repr__
(self)
lavis/processors/blip_processors.py:353
Method__repr__
(self)
lavis/processors/blip_processors.py:371
Method__str__
(self)
lavis/common/config.py:196
Method__str__
(self)
lavis/common/config.py:218
Method__str__
(self)
lavis/common/logger.py:74
Method__str__
(self)
lavis/common/logger.py:105
Method__str__
(self)
lavis/models/__init__.py:241
Method_aug
(self, img, ops, apply_or_not)
lavis/processors/randaugment.py:386
Method_build_class_labels
(self)
lavis/datasets/datasets/multimodal_classification_datasets.py:19
Method_build_class_labels
(self, ans_path)
lavis/datasets/datasets/video_vqa_datasets.py:33
Function_cfg
(url='', **kwargs)
lavis/models/eva_vit.py:21
Function_convert_to_rgb
(image)
lavis/models/clip_models/transform.py:64
Function_convert_to_rgb
(image)
lavis/processors/clip_processors.py:15
Function_convert_weights_to_fp16
(l)
lavis/models/eva_vit.py:407
Function_convert_weights_to_fp16
(l)
lavis/models/clip_models/model.py:766
Method_create_loader
(dataset, num_workers, bsz, is_train, collate_fn)
lavis/runners/runner_base.py:513
Function_df_split_apply
(tup_arg)
lavis/datasets/download_scripts/DownloadConceptualCaptions/download_data_cc3m.py:34
Function_df_split_apply
(tup_arg)
lavis/datasets/download_scripts/DownloadConceptualCaptions/download_data_cc12m.py:34
Method_download_ann
(self)
lavis/datasets/builders/image_text_pair_builder.py:54
Method_download_ann
(self)
lavis/datasets/builders/imagefolder_builder.py:22
Method_download_vis
(self)
lavis/datasets/builders/image_text_pair_builder.py:57
Method_flip
(samples)
lavis/datasets/datasets/nlvr_datasets.py:93
Method_init_weights
(self, m)
lavis/models/vit.py:252
Method_init_weights
(self, m)
lavis/models/eva_vit.py:311
Method_init_weights
Initialize the weights
lavis/models/med.py:705
Method_init_weights
Initialize the weights
lavis/models/blip_models/nlvr_encoder.py:665
Method_init_weights
Initialize the weights
lavis/models/blip2_models/Qformer.py:664
Method_init_weights
(self, module)
lavis/models/blip2_models/modeling_llama.py:348
Method_init_weights
Initialize the weights
lavis/models/blip2_models/modeling_t5.py:853
Method_lemmatize
(self, answers)
lavis/models/blip2_models/blip2.py:313
Function_move_to_cuda
(tensor)
lavis/datasets/data_utils.py:70
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
lavis/models/med.py:746
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
lavis/models/blip_models/nlvr_encoder.py:706
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
lavis/models/blip2_models/Qformer.py:705
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
lavis/models/blip2_models/modeling_t5.py:1517
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
lavis/models/blip2_models/modeling_t5.py:2011
Method_reorder_cache
(self, past, beam_idx)
lavis/models/med.py:1287
Method_reorder_cache
(self, past, beam_idx)
lavis/models/blip2_models/Qformer.py:1120
Method_reorder_cache
(past_key_values, beam_idx)
lavis/models/blip2_models/modeling_llama.py:764
Method_reorder_cache
(self, past, beam_idx)
lavis/models/blip2_models/modeling_t5.py:1926
Method_report_metrics
(self, eval_result_file, split_name)
lavis/tasks/dialogue.py:68
Method_report_metrics
TODO: add other evaluation metrics for GQA
lavis/tasks/vqa.py:228
Method_report_metrics
Implementing accuracy computation for AOKVQA, see https://github.com/allenai/aokvqa/blob/main/evaluation/eval_predictions.py#L45 for
lavis/tasks/vqa.py:293
Method_set_gradient_checkpointing
(self, module, value=False)
lavis/models/blip2_models/modeling_llama.py:359
Method_set_gradient_checkpointing
(self, module, value=False)
lavis/models/blip2_models/modeling_t5.py:915
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
lavis/models/blip2_models/modeling_llama.py:183
Method_validate_runner_config
This method validates the configuration, such that 1) all the user specified options are valid; 2) no type mismatches
lavis/common/config.py:43
Functionabspath
Make a path absolute, but take into account prefixes like "http://" or "manifold://"
lavis/common/utils.py:374
Methodaccum_grad_iters
(self)
lavis/runners/runner_base.py:294
Functionadd_model_config
add model config path or file and update registry
lavis/models/clip_models/model.py:1037
Methodafter_evaluation
(self, val_result, **kwargs)
lavis/tasks/retrieval.py:49
Methodafter_evaluation
(self, val_result, split_name, epoch, dataset, **kwargs)
lavis/tasks/classification.py:94
Methodafter_evaluation
(self, val_result, split_name, epoch, **kwargs)
lavis/tasks/multimodal_classification.py:51
Methodafter_evaluation
(self, val_result, split_name, epoch, **kwargs)
lavis/tasks/dialogue.py:57
Methodafter_evaluation
(self, val_result, split_name, **kwargs)
lavis/tasks/vqa_reading_comprehension.py:93
Methodafter_evaluation
(self, **kwargs)
lavis/tasks/base_task.py:77
Methodafter_evaluation
(self, val_result, split_name, epoch, dataset, **kwargs)
lavis/tasks/captioning.py:71
Functionapp
()
app/classification.py:63
Functionapp
()
app/text_localization.py:20
Functionapp
()
app/image_text_match.py:19
Functionapp
()
app/multimodal_search.py:72
Functionapp
()
app/vqa.py:15
Functionapp
()
app/caption.py:15
Methodapply
(answer)
lavis/models/blip2_models/blip2_t5_instruct.py:699
Methodapply
(answer)
lavis/models/blip2_models/blip2_t5.py:315
Methodapply
(answer)
lavis/models/blip2_models/blip2_vicuna_instruct.py:760
Functionapply_rot_embed_list
(x: List[torch.Tensor], sin_emb, cos_emb)
lavis/models/clip_models/timm_model.py:438
Functionapply_rot_embed_split
(x: torch.Tensor, emb)
lavis/models/clip_models/timm_model.py:444
Functionautocontrast_func
same output as PIL.ImageOps.autocontrast
lavis/processors/randaugment.py:19
Methodavg
(self)
lavis/common/logger.py:58
Methodbefore_evaluation
(self, **kwargs)
lavis/models/base_model.py:107
← previousnext →701–800 of 1,238, ranked by callers