Skip to content

Error when training VOC dataset (non-augmented) #16

@vioanl

Description

@vioanl

I encountered an error when trying to train the model on the Pascal VOC dataset (non-augmented version) using the command:sh scripts/voc/rcil_10-1-overlap.sh for the voc dataset but not the augmented version. The error suggests that the dataset indices are out of range, and I am unsure how to properly prepare my dataset to avoid these errors:

Sample entries from /home/.../PascalVOC12/list/train.txt:

Entry 0: 2007_000032
Entry 1: 2007_000039
Entry 2: 2007_000063
Entry 3: 2007_000068
Entry 4: 2007_000121
Total images loaded: 1464
Subset: dataset size = 1464, max index requested = 10581
...
ValueError: Invalid index: max requested index (10581) exceeds dataset size

(1464)!

What is the expected format for train.txt? Should it contain just image IDs or full paths?Are there any pre-processing steps that I should do before training?

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