Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boheumd/MA-LMM
/ functions
Functions
1,238 in github.com/boheumd/MA-LMM
⨍
Functions
1,238
◇
Types & classes
310
↳
Endpoints
9
Method
test_pretrain
(self)
tests/models/test_albef.py:122
Method
test_pretrain
(self)
tests/models/test_blip.py:179
Method
test_qa
(self)
tests/models/test_pnp_vqa.py:98
Method
test_retrieval
(self)
tests/models/test_albef.py:81
Method
test_retrieval
(self)
tests/models/test_blip.py:138
Method
test_splits
(self)
lavis/runners/runner_base.py:307
Method
test_vqa
(self)
tests/models/test_albef.py:27
Method
test_vqa
(self)
tests/models/test_pnp_vqa.py:27
Method
test_vqa
(self)
tests/models/test_blip.py:114
Method
test_vqa_forward
(self)
tests/models/test_albef.py:45
Method
to_dict
(self, sample)
lavis/datasets/datasets/laion_dataset.py:26
Function
to_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
Function
to_image_text_pair
(sample)
lavis/datasets/datasets/laion_dataset.py:36
Function
to_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
Function
tokenize
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
Function
trace_model
(model, batch_size=256, device=torch.device("cpu"))
lavis/models/clip_models/model.py:873
Method
train_epoch
( self, epoch, model, data_loader, optimizer, lr_scheduler,
lavis/tasks/base_task.py:107
Method
train_iters
( self, epoch, start_iters, iters_per_inner_epoch, model, data
lavis/tasks/base_task.py:132
Method
train_loader
(self)
lavis/runners/runner_base.py:344
Method
train_splits
(self)
lavis/runners/runner_base.py:313
Function
translate_x_func
same output as PIL.Image.transform
lavis/processors/randaugment.py:168
Function
translate_y_func
same output as PIL.Image.transform
lavis/processors/randaugment.py:180
Method
unregister
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
Method
unshape
reshape
lavis/models/blip2_models/modeling_t5.py:514
Method
use_dist_eval_sampler
(self)
lavis/runners/runner_base.py:329
Method
use_distributed
(self)
lavis/runners/runner_base.py:76
Method
valid_splits
(self)
lavis/runners/runner_base.py:298
Method
valid_step
(self, model, samples)
lavis/tasks/multimodal_classification.py:24
Method
valid_step
(self, model, samples)
lavis/tasks/dialogue.py:51
Method
valid_step
(self, model, samples)
lavis/tasks/vqa_reading_comprehension.py:61
Method
valid_step
(self, model, samples)
lavis/tasks/vqa_reading_comprehension.py:158
Method
valid_step
(self, model, samples)
lavis/tasks/vqa.py:102
Method
valid_step
(self, model, samples)
lavis/tasks/vqa.py:205
Method
valid_step
(self, model, samples)
lavis/tasks/vqa.py:269
Method
valid_step
(self, model, samples)
lavis/tasks/captioning.py:50
Method
wrap
(builder_cls)
lavis/common/registry.py:34
Function
wrapper
(*args, **kwargs)
lavis/common/dist_utils.py:109
Method
zero_shot_predict
(self, image_path, categories)
lavis/models/clip_models/model.py:696
← previous
1,201–1,238 of 1,238, ranked by callers