Skip to content

"text" is not included in it2it tasks #4182

@KennethEnevoldsen

Description

@KennethEnevoldsen

When running this dataset EncyclopediaVQAIT2ITRetrieval:

We can check the dataloader:

dl = _create_queries_dataloader(
            dataset,
            task_metadata,
            batch_size=batch_size,
            input_column=input_column,
            num_proc=num_proc,
        )
next(iter(dl)).keys() # dict_keys(['image'])

even though the dataset:

Dataset({
    features: ['id', 'modality', 'text', 'image'],
    num_rows: 3743
})

@Samoed I assume that this is not desired behaviour would expect # dict_keys(['image', 'text'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions