Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error run the train command #7

Open
supriamir opened this issue Oct 25, 2023 · 0 comments
Open

Error run the train command #7

supriamir opened this issue Oct 25, 2023 · 0 comments

Comments

@supriamir
Copy link

supriamir commented Oct 25, 2023

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

  1. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant