Skip to content

Error run the train command #7

Open
@supriamir

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

  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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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