Skip to content

Impact of Validation Data Structure on Training Phase #3

Open
@uha225

Description

This issue follows from Issue #2 (Impact of Validation Data Structure on Training Phase).
The training script train_imagenet_classifier.py assumes that both training and validation images are structured by class (with each class’s images in a dedicated subdirectory). Given that the validation images do not come in labeled directories, would adjusting this manually (i.e., creating labeled folders for each class in val) be necessary for proper functionality?

Additionally, I moved 10% of training images to val for validation per class. Could you provide an estimate on the impact of this approach on the classifier’s accuracy?

Steps Taken:

Prepared the ImageNet dataset according to the README.
Ran train_imagenet_classifier.py and encountered issues due to validation data not being organized by label.

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