MCPcopy Create free account

hub / github.com/alipay/Ant-Multi-Modal-Framework / functions

Functions4,004 in github.com/alipay/Ant-Multi-Modal-Framework

FunctionInvert
(img, _)
prj/M2_Encoder/vlmo/transforms/randaug.py:68
FunctionPosterize
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:94
FunctionPyInit_cphoc
Initializes our module using our above struct
antmmf/utils/phoc/src/cphoc.c:143
FunctionRotate
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:57
FunctionSamplePairing
(imgs)
prj/M2_Encoder/vlmo/transforms/randaug.py:150
FunctionSharpness
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:115
FunctionShearX
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:13
FunctionShearY
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:20
FunctionSolarize
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:80
FunctionSolarizeAdd
(img, addition=0, threshold=128)
prj/M2_Encoder/vlmo/transforms/randaug.py:85
FunctionTranslateX
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:27
FunctionTranslateXabs
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:35
FunctionTranslateY
(img, v)
prj/M2_Encoder/vlmo/transforms/randaug.py:42
FunctionTranslateYabs
(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
← previousnext →1,701–1,800 of 4,004, ranked by callers