Skip to content

Problem during inference with VLEP #24

@ghost

Description

I processed with the indicates jupyter file the data , I have something like this:
{"video": "friends_s03e09_seg02_clip_07_ep", "num_option": 2, "qid": "VLEP_20142", "a0": "Ross will stop, turn and point at Monica.", "a1": "Ross will stop and ask Monica why she is pointing at him.", "answer": 0, "start": 38.81, "end": 40.37}

but during inference I get an error:

File "/SeViLA/lavis/datasets/datasets/mc_video_vqa_datasets.py", line 54, in __getitem__
q = ann['question']
KeyError: 'question'

if you go to that file you have:
Screenshot at Oct 26 06-04-46

You can see that line 54 is asking for ann['question'] that vlep does not have. I do not know if I forgot to set some path or variable or something.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions