Datasets:

Tasks:
Other
Languages:
English
ArXiv:
License:

fix example generation

#5
by giu-alb - opened

the loading script

according to the dataset card the example format is:
{
"video_id": "41775",
"video": "",
"text": "moving drawer of night stand",
"label": 33,
"placeholders": ["drawer", "night stand"]}
}

so the label field should be the index of one of the classes defined in classes.py which are copied from the labels.json file of the dataset
however, in the split annotations, the field "label" does contain a class label from that list, it is the template field that does
the label field contains a text description obtain by replacing the placeholders in the templates
the script misinterprets this and so it currently doesn't work
by fixing this (patched version attached) the loading script should work again

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment