olgaliak / active-learning-detect

Active learning + object detection
MIT License
100 stars 33 forks source link

Upload script should only look at files that match filetype in config.ini #47

Open andrebriggs opened 5 years ago

andrebriggs commented 5 years ago

The iteration loop here grabs all files and attempt to extract height and width without checking to see if the file is actually an image.

yashpande commented 5 years ago

This could probably be done by replacing subfolder.iterdir() with subfolder.rglob(filetype). Shouldn't be too hard to do, but I don't want to create new errors. Could @olgaliak or someone else try changing this on their branch and seeing if it works?

andrebriggs commented 5 years ago

@yashpande I know. Just logging the bug so we will fix. Most likely will rewrite this area.