cerebras.modelzoo.data.multimodal.datasets.features.VQAFeaturesDict#
- class cerebras.modelzoo.data.multimodal.datasets.features.VQAFeaturesDict[source]#
Bases:
object
ImageID: Name of image
Methods
Attributes
answer_type
image
image_path
image_id
question
answers
multiple_choice_answer
multiple_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 #