MCPcopy Create free account

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

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

Methodtest_pretrain
(self)
tests/models/test_albef.py:122
Methodtest_pretrain
(self)
tests/models/test_blip.py:179
Methodtest_qa
(self)
tests/models/test_pnp_vqa.py:98
Methodtest_retrieval
(self)
tests/models/test_albef.py:81
Methodtest_retrieval
(self)
tests/models/test_blip.py:138
Methodtest_splits
(self)
lavis/runners/runner_base.py:307
Methodtest_vqa
(self)
tests/models/test_albef.py:27
Methodtest_vqa
(self)
tests/models/test_pnp_vqa.py:27
Methodtest_vqa
(self)
tests/models/test_blip.py:114
Methodtest_vqa_forward
(self)
tests/models/test_albef.py:45
Methodto_dict
(self, sample)
lavis/datasets/datasets/laion_dataset.py:26
Functionto_google_drive_download_url
Utility function to transform a view URL of google drive to a download URL for google drive Example input: https://drive.google.c
lavis/common/utils.py:93
Functionto_image_text_pair
(sample)
lavis/datasets/datasets/laion_dataset.py:36
Functionto_tensor
Convert tensor data type from uint8 to float, divide value by 255.0 and permute the dimensions of clip tensor Args: clip (torch.t
lavis/processors/functional_video.py:76
Functiontokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input st
lavis/models/clip_models/tokenizer.py:175
Functiontrace_model
(model, batch_size=256, device=torch.device("cpu"))
lavis/models/clip_models/model.py:873
Methodtrain_epoch
( self, epoch, model, data_loader, optimizer, lr_scheduler,
lavis/tasks/base_task.py:107
Methodtrain_iters
( self, epoch, start_iters, iters_per_inner_epoch, model, data
lavis/tasks/base_task.py:132
Methodtrain_loader
(self)
lavis/runners/runner_base.py:344
Methodtrain_splits
(self)
lavis/runners/runner_base.py:313
Functiontranslate_x_func
same output as PIL.Image.transform
lavis/processors/randaugment.py:168
Functiontranslate_y_func
same output as PIL.Image.transform
lavis/processors/randaugment.py:180
Methodunregister
r"""Remove an item from registry with key 'name' Args: name: Key which needs to be removed. Usage:: from mmf
lavis/common/registry.py:315
Methodunshape
reshape
lavis/models/blip2_models/modeling_t5.py:514
Methoduse_dist_eval_sampler
(self)
lavis/runners/runner_base.py:329
Methoduse_distributed
(self)
lavis/runners/runner_base.py:76
Methodvalid_splits
(self)
lavis/runners/runner_base.py:298
Methodvalid_step
(self, model, samples)
lavis/tasks/multimodal_classification.py:24
Methodvalid_step
(self, model, samples)
lavis/tasks/dialogue.py:51
Methodvalid_step
(self, model, samples)
lavis/tasks/vqa_reading_comprehension.py:61
Methodvalid_step
(self, model, samples)
lavis/tasks/vqa_reading_comprehension.py:158
Methodvalid_step
(self, model, samples)
lavis/tasks/vqa.py:102
Methodvalid_step
(self, model, samples)
lavis/tasks/vqa.py:205
Methodvalid_step
(self, model, samples)
lavis/tasks/vqa.py:269
Methodvalid_step
(self, model, samples)
lavis/tasks/captioning.py:50
Methodwrap
(builder_cls)
lavis/common/registry.py:34
Functionwrapper
(*args, **kwargs)
lavis/common/dist_utils.py:109
Methodzero_shot_predict
(self, image_path, categories)
lavis/models/clip_models/model.py:696
← previous1,201–1,238 of 1,238, ranked by callers