O'Reilly logo

Java Deep Learning Projects by Md. Rezaul Karim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Removing invalid images

I do not know why, but each image folder (train and test) also contains some temporary images with the _*.jpg name pattern, but not actual images. Therefore, I removed them using a UNIX command as follows:

$ find . -type f -name "._*.jpg" -exec rm -f {} ;

Then, I unzipped and copied each .csv file into a folder called label. Additionally, I moved the training and test images into the train and test folders (that is, inside the images folder), respectively. In short, after extraction and copying, the following folder structure is used in our projects. Therefore, the resulting structure will be as follows:

Folder structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required