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

UserWarning: Found no valid file for the classes 1057 #46

Open
chennanhua001 opened this issue Nov 8, 2023 · 1 comment
Open

UserWarning: Found no valid file for the classes 1057 #46

chennanhua001 opened this issue Nov 8, 2023 · 1 comment

Comments

@chennanhua001
Copy link

Hello, I am running train.py with the following problem.

UserWarning: Found no valid file for the classes 1057, 1100, 1116, 1237, 1326, 1350, 1351, 1355, 1356, 1357, 1358, 1453. Supported extensions are: .jpg, .jpeg, .png, .ppm, .bmp, .pgm, .tif, .tiff, .webp

This is caused by the fact that there are no files (images) in the folder 1057, 1100 etc. under "/University-1652/train/google" during the train process. I would like to ask how to solve this problem.

@layumi
Copy link
Owner

layumi commented Nov 8, 2023

Hi @chennanhua001

Yes. Some google image folders are empty due to the indoor scene or duplicate images.
Please use the dataset class I write. https://github.com/layumi/University1652-Baseline/blob/master/train.py#L163

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

2 participants