Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alipay/Ant-Multi-Modal-Framework
/ functions
Functions
4,004 in github.com/alipay/Ant-Multi-Modal-Framework
⨍
Functions
4,004
◇
Types & classes
941
↳
Endpoints
1
Function
Invert
(img, _)
prj/M2_Encoder/vlmo/transforms/randaug.py:68
Function
Posterize
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:94
Function
PyInit_cphoc
Initializes our module using our above struct
antmmf/utils/phoc/src/cphoc.c:143
Function
Rotate
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:57
Function
SamplePairing
(imgs)
prj/M2_Encoder/vlmo/transforms/randaug.py:150
Function
Sharpness
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:115
Function
ShearX
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:13
Function
ShearY
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:20
Function
Solarize
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:80
Function
SolarizeAdd
(img, addition=0, threshold=128)
prj/M2_Encoder/vlmo/transforms/randaug.py:85
Function
TranslateX
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:27
Function
TranslateXabs
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:35
Function
TranslateY
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:42
Function
TranslateYabs
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:50
Method
__call__
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text` and `kwargs` arguments
prj/M2_omni/models/processing_m2omni.py:134
Method
__call__
( self, raw_audios: Union[torch.Tensor, List[torch.Tensor], List[List[torch.Tensor]]],
prj/M2_omni/models/feature_extraction_sanm.py:387
Method
__call__
(self, results)
prj/M2_Encoder/ms_wrapper.py:71
Method
__call__
(self, x)
prj/M2_Encoder/vlmo/transforms/utils.py:10
Method
__call__
Args: tensor (Tensor): Tensor image of size (C, H, W) to be normalized. Returns: Tensor: Normalized image.
prj/M2_Encoder/vlmo/transforms/utils.py:34
Method
__call__
(self, img)
prj/M2_Encoder/vlmo/transforms/randaug.py:216
Method
__call__
(self, img)
prj/M2_Encoder/vlmo/transforms/randaug.py:241
Method
__call__
(self, img)
prj/M2_Encoder/vlmo/transforms/randaug.py:265
Method
__call__
(self, img)
prj/M2_Encoder/vlmo/transforms/randaugment.py:319
Method
__call__
Args: sample_info(dict): Returned dict from antmmf.datasets.database.features_database.FeaturesDatabase.
prj/snps3_vtp/roi_univl/roi/region_processor.py:93
Method
__call__
(self, video, video_format="TCHW")
prj/snps3_vtp/roi_univl/univl/processors.py:51
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/model/utils.py:35
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_vsr.py:82
Method
__call__
(self, batch_id, inputs_id)
prj/Pink/pink/eval/model_seed.py:86
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_seed.py:119
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_pointingvqa_looktwice.py:92
Method
__call__
(self, instances)
prj/Pink/pink/eval/model_object365.py:53
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_object365.py:144
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_pointingvqa_local.py:92
Method
__call__
Collate examples for supervised fine-tuning.
prj/Pink/pink/eval/model_vg_base_batch.py:37
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_vg_base_batch.py:130
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_vqav2.py:276
Method
__call__
(self, batch_id, inputs_id)
prj/Pink/pink/eval/model_vqav2.py:304
Method
__call__
(self, batch_id, inputs_id)
prj/Pink/pink/eval/model_gqa.py:94
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_gqa.py:117
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_okvqa.py:83
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_v7wgrounding.py:72
Method
__call__
(self, batch_id, inputs_id)
prj/Pink/pink/eval/model_iconqa.py:86
Method
__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
prj/Pink/pink/eval/model_iconqa.py:114
Method
__call__
(self, instances: Sequence[Dict])
prj/Pink/pink/train/train.py:140
Method
__call__
Args: sample_info(dict): Returned dict from antmmf.datasets.database.features_database.FeaturesDatabase.
prj/dmae_vtp/roi_univl/roi/region_processor.py:93
Method
__call__
(self, video, video_format="TCHW")
prj/dmae_vtp/roi_univl/univl/processors.py:51
Method
__call__
Args: sample_info(dict): Returned dict from antmmf.datasets.database.features_database.FeaturesDatabase.
prj/base_vtp/roi_univl/roi/region_processor.py:93
Method
__call__
(self, video, video_format="TCHW")
prj/base_vtp/roi_univl/univl/processors.py:51
Method
__call__
Args: sample_info(dict): Returned dict from antmmf.datasets.database.features_database.FeaturesDatabase.
prj/cnvid_vtp/roi_univl/roi/region_processor.py:93
Method
__call__
(self, video, video_format="TCHW")
prj/cnvid_vtp/roi_univl/univl/processors.py:51
Method
__call__
(self, *args, **kwargs)
antmmf/modules/module_registry.py:81
Method
__call__
(self, *args, **kwargs)
antmmf/modules/metrics/base_metric.py:60
Method
__call__
(self, sample_list, model_output, *args, **kwargs)
antmmf/modules/metrics/metrics.py:105
Method
__call__
(self, *args, **kwargs)
antmmf/utils/vocab.py:57
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:24
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:48
Method
__call__
(self, img_group, is_flow=False, **kwargs)
antmmf/utils/image_ops.py:58
Method
__call__
:param tensor: bsz, c, h, w / c, h, w :param kwargs: :return:
antmmf/utils/image_ops.py:77
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:123
Method
__call__
Args: img (torch.tensor): Image to be scaled. Returns: torch.tensor: Rescaled image.
antmmf/utils/image_ops.py:164
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:238
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:281
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:330
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:421
Method
__call__
(self, img_group, **kwargs)
antmmf/utils/image_ops.py:461
Method
__call__
(self, pic, **kwargs)
antmmf/utils/image_ops.py:480
Method
__call__
(self, data, **kwargs)
antmmf/utils/image_ops.py:495
Method
__call__
(self, img_path, **kwargs)
antmmf/utils/image_ops.py:643
Method
__call__
Method to be called everytime you need to check whether to early stop or not Arguments: iteration {number}: Curre
antmmf/utils/early_stopping.py:39
Method
__call__
(self, batch)
antmmf/common/batch_collator.py:16
Method
__call__
Call requires item to have either "image" attribute or either "feature" attribute. If "image" is present, it will processed using an i
antmmf/datasets/processors/video_processors.py:191
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:285
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:428
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:496
Method
__call__
(self, item, *args, **kwargs)
antmmf/datasets/processors/text_processors.py:554
Method
__call__
(self, item, *args, **kwargs)
antmmf/datasets/processors/text_processors.py:572
Method
__call__
(self, item, *args, **kwargs)
antmmf/datasets/processors/text_processors.py:594
Method
__call__
(self, item, probability=None)
antmmf/datasets/processors/text_processors.py:901
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:931
Method
__call__
(self, item, probability=None)
antmmf/datasets/processors/text_processors.py:1054
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:1175
Method
__call__
(self, item)
antmmf/datasets/processors/text_processors.py:1220
Method
__call__
Main function of the processor. Takes in a dict and returns back a dict Args: item (Dict, List): Some item that needs to
antmmf/datasets/processors/processors.py:134
Method
__call__
(self, item, *args, **kwargs)
antmmf/datasets/processors/processors.py:202
Method
__call__
(self, item)
antmmf/datasets/processors/processors.py:229
Method
__call__
Args: item: must have 'hier_label' key, whose corresponding value is a label or hier-label with '-' concatenate
antmmf/datasets/processors/processors.py:253
Method
__call__
(self, item)
antmmf/datasets/processors/image_processors.py:151
Method
__call__
Call requires item to have either "image" attribute or either "feature" attribute. If "image" is present, it will processed using an i
antmmf/datasets/processors/image_processors.py:312
Method
__call__
(self, x)
antmmf/datasets/processors/image_processors.py:418
Method
__call__
(self, x)
antmmf/datasets/processors/image_processors.py:432
Method
__call__
(self, x)
antmmf/datasets/processors/image_processors.py:521
Method
__call__
Args: data: {'image': image_arr, 'labels': annotations, # Nx5}, image_arr is BGR or RGB for
antmmf/datasets/processors/image_processors.py:566
Method
__call__
Args: data: {'image': image_arr, # pil RGB format, 'target': None or {'bbox': annotations, # [x1,y1,x2,y2], Nx
antmmf/datasets/processors/image_processors.py:685
Method
__call__
Takes in dict with answers or answers_tokens, and returns back a dict with answers (processed), "answers_indices" which point to indic
antmmf/datasets/processors/mm_processors.py:129
Method
__call__
(self, image, target)
antmmf/datasets/processors/transforms/detection.py:23
Method
__call__
(self, img, target)
antmmf/datasets/processors/transforms/detection.py:179
Method
__call__
(self, img: PIL.Image.Image, target: dict)
antmmf/datasets/processors/transforms/detection.py:189
Method
__call__
(self, img, target)
antmmf/datasets/processors/transforms/detection.py:200
Method
__call__
(self, img, target)
antmmf/datasets/processors/transforms/detection.py:212
Method
__call__
(self, img, target=None)
antmmf/datasets/processors/transforms/detection.py:224
← previous
next →
1,701–1,800 of 4,004, ranked by callers