MCPcopy Create free account

hub / github.com/WillDreamer/Aurora / functions

Functions226 in github.com/WillDreamer/Aurora

Method__init__
(self, *args, **kwargs)
utils.py:185
Method__init__
image_root (string): Root directory of images (e.g. flickr30k/) ann_root (string): directory to store the annotation file
data/flickr30k_dataset.py:12
Method__init__
image_root (string): Root directory of images (e.g. flickr30k/) ann_root (string): directory to store the annotation file spl
data/flickr30k_dataset.py:53
Method__init__
(self, mean, std)
data/videovqa_dataset.py:18
Method__init__
(self, ann_root='MSRVTT-QA/', video_root = 'MSRVTT/videos/', train_files=[], split="train")
data/videovqa_dataset.py:30
Method__init__
image_root (string): Root directory of images (e.g. coco/images/) ann_root (string): directory to store the annotation file
data/coco_karpathy_dataset.py:9
Method__init__
image_root (string): Root directory of images (e.g. coco/images/) ann_root (string): directory to store the annotation file s
data/coco_karpathy_dataset.py:50
Method__init__
(self, mean, std)
data/video_dataset_didemo.py:35
Method__init__
image_root (string): Root directory of video ann_root (string): directory to store the annotation file
data/video_dataset_didemo.py:236
Method__init__
image_root (string): Root directory of video ann_root (string): directory to store the annotation file
data/video_dataset_didemo.py:306
Method__init__
(self, transform, ann_root, vqa_root, vg_root, train_files=[], split="train")
data/vqa_dataset.py:13
Method__init__
(self, mean, std)
data/video_dataset_msrvtt.py:18
Method__init__
image_root (string): Root directory of video ann_root (string): directory to store the annotation file
data/video_dataset_msrvtt.py:34
Method__init__
image_root (string): Root directory of video ann_root (string): directory to store the annotation file
data/video_dataset_msrvtt.py:116
Method__init__
(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., R = 64)
CP/vit.py:60
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
CP/vit.py:120
Method__init__
Args: img_size (int, tuple): input image size patch_size (int, tuple): patch size in_chans (int): number
CP/vit.py:153
Method__init__
Args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input im
CP/blip_vqa.py:10
Method__init__
Args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input im
CP/blip_retrieval.py:12
Method__init__
Args: med_config (str): path for the mixture of encoder-decoder model's configuration file image_size (int): input im
CP/blip.py:76
Method__init__
(self, config)
CP/med.py:52
Method__init__
(self, config, is_cross_attention,R)
CP/med.py:95
Method__init__
(self, config, iscross_attention)
CP/med.py:265
Method__init__
(self, config, is_cross_attention=False,R = 64)
CP/med.py:281
Method__init__
(self, config)
CP/med.py:340
Method__init__
(self, config)
CP/med.py:355
Method__init__
(self, config, adapter_config=None, adapters=None, device=None, R=None)
CP/med.py:477
Method__init__
(self, config)
CP/med.py:613
Method__init__
(self, config)
CP/med.py:627
Method__init__
(self, config)
CP/med.py:644
Method__init__
(self, config)
CP/med.py:664
Method__init__
(self, config, add_pooling_layer=True, adapter_config=None, adapters=None, device=None,R=None)
CP/med.py:705
Method__init__
(self, config, adapter_config=None, adapters=None, R = 64)
CP/med.py:938
Method__init__
(self, N=2, M=10, isPIL=False, augs=[])
transform/randaugment.py:306
Method__len__
(self)
data/flickr30k_dataset.py:36
Method__len__
(self)
data/flickr30k_dataset.py:83
Method__len__
(self)
data/videovqa_dataset.py:47
Method__len__
(self)
data/coco_karpathy_dataset.py:33
Method__len__
(self)
data/coco_karpathy_dataset.py:82
Method__len__
(self)
data/video_dataset_didemo.py:284
Method__len__
(self)
data/video_dataset_didemo.py:347
Method__len__
(self)
data/vqa_dataset.py:40
Method__len__
(self)
data/video_dataset_msrvtt.py:65
Method__len__
(self)
data/video_dataset_msrvtt.py:140
Method__str__
(self)
utils.py:84
Method__str__
(self)
utils.py:113
Method_init_weights
(self, m)
CP/vit.py:214
Method_init_weights
Initialize the weights
CP/med.py:682
Method_prune_heads
(self, heads_to_prune)
CP/med.py:720
Method_reorder_cache
(self, past, beam_idx)
CP/med.py:1082
Functionautocontrast_func
same output as PIL.ImageOps.autocontrast
transform/randaugment.py:10
Methodavg
(self)
utils.py:68
Functionblip_decoder
(pretrained='',**kwargs)
CP/blip.py:169
Functionblip_feature_extractor
(pretrained='',**kwargs)
CP/blip.py:176
Functionbrightness_func
same output as PIL.ImageEnhance.Contrast
transform/randaugment.py:116
Functioncoco_caption_eval
(coco_gt_root, results_file, split)
data/utils.py:93
Functioncolor_func
same output as PIL.ImageEnhance.Color
transform/randaugment.py:87
Functioncompute_acc
(logits, label, reduction='mean')
utils.py:190
Functioncompute_n_params
(model, return_str=True)
utils.py:197
Functioncontrast_func
same output as PIL.ImageEnhance.Contrast
transform/randaugment.py:103
Methodcreate_custom_forward
(module)
CP/med.py:542
Methodcustom_forward
(*inputs)
CP/med.py:543
Functioncutout_func
(img, pad_size, replace=(0, 0, 0))
transform/randaugment.py:188
Functioncutout_level_to_args
(cutout_const, MAX_LEVEL, replace_value)
transform/randaugment.py:226
Functiondidemo_collate
(batch)
data/__init__.py:102
Functionequalize_func
same output as PIL.ImageOps.equalize PIL's implementation is different from cv2.equalize
transform/randaugment.py:43
Methodfeed_forward_chunk
(self, attention_output)
CP/med.py:470
Methodforward
(self, x, CP_U=None, CP_V=None, CP_C=None)
CP/vit.py:41
Methodforward
(self, x, register_hook=False, CP_U=None, CP_V=None, CP_C=None)
CP/vit.py:92
Methodforward
(self, x, register_hook=False, CP_U=None, CP_V=None, CP_C=None)
CP/vit.py:141
Methodforward
(self, x, register_blk=-1, CP_U=None, CP_V=None, CP_C=None)
CP/vit.py:229
Methodforward
(self, image, question, answer=None, n=None, weights=None, train=True, inference='rank', k_test=128)
CP/blip_vqa.py:47
Methodforward
(self, image, caption, alpha, idx)
CP/blip_retrieval.py:89
Methodforward
(ctx, x)
CP/blip_retrieval.py:372
Methodforward
(self, image, caption, mode)
CP/blip.py:43
Methodforward
(self, image, caption)
CP/blip.py:102
Methodforward
( self, input_ids=None, position_ids=None, inputs_embeds=None, past_key_values_length=0 )
CP/med.py:68
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
CP/med.py:157
Methodforward
(self, hidden_states, input_tensor)
CP/med.py:272
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
CP/med.py:305
Methodforward
(self, hidden_states)
CP/med.py:349
Methodforward
(self, hidden_states, input_tensor)
CP/med.py:361
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
CP/med.py:403
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
CP/med.py:496
Methodforward
(self, hidden_states)
CP/med.py:618
Methodforward
(self, hidden_states)
CP/med.py:636
Methodforward
(self, hidden_states)
CP/med.py:657
Methodforward
(self, sequence_output)
CP/med.py:668
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
CP/med.py:778
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
CP/med.py:952
Methodget_attention_map
(self)
CP/vit.py:89
Methodget_attention_map
(self)
CP/med.py:149
Methodget_attn_gradients
(self)
CP/vit.py:83
Methodget_attn_gradients
(self)
CP/med.py:143
Methodget_input_embeddings
(self)
CP/med.py:714
Methodget_output_embeddings
(self)
CP/med.py:946
Functionget_world_size
()
utils.py:235
Methodglobal_avg
(self)
utils.py:73
Functionidentity_func
(img)
transform/randaugment.py:6
Functioninit_distributed_mode
(args)
utils.py:256
← previousnext →101–200 of 226, ranked by callers