Open
Description
Hi @zarzouram I have some question about your work.
I have a question about running the create_dataset. I'm using the following command:
python code/create_dataset.py --dataset_dir dataset_dir --json_train json_train --json_val json_val --image_train image_train --image_val image_val --output_dir output_dir --vector_dir vector_dir --vector_dim 300 --min_freq 5 --max_len 52
However, when I execute this command, I encounter the following error:
Traceback (most recent call last):
File "code/create_dataset.py", line 56, in
vector_name = f"{vector_name[0].name.strip('.zip')}.{args.vector_dim}d"
IndexError: list index out of range
- Where to obtain the validation annotations since there is only one file in the JSON.
Would you be so kind as to assist me in resolving this matter?
Metadata
Assignees
Labels
No labels
Activity