layumi / University1652-Baseline

ACM Multimedia2020 University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization :helicopter: annotates 1652 buildings in 72 universities around the world.

Home Page:https://arxiv.org/abs/2002.12186

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UserWarning: Found no valid file for the classes 1057

chennanhua001 opened this issue · comments

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.

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