cerebras.modelzoo.data.multimodal.datasets.features.VQAFeaturesDict#
- class cerebras.modelzoo.data.multimodal.datasets.features.VQAFeaturesDict[source]#
Bases:
objectImageID: Name of image
Methods
Attributes
answer_typeimageimage_pathimage_idquestionanswersmultiple_choice_answermultiple_choice_answer_language- __init__(image_path: str, image_id: str, question: cerebras.modelzoo.data.multimodal.datasets.features.VQAQuestion, answers: List[cerebras.modelzoo.data.multimodal.datasets.features.VQAAnswer], multiple_choice_answer: str, multiple_choice_answer_language: str, answer_type: Optional[str] = None, image: Optional[torch.Tensor] = None) None#