convolutional neural networks this dataset was originally published by microsoft research and was later made available through kaggleat dogs-vs-cats/data the dataset is hosted as simple folder with filenames representing the labelso we might have to reorganize the dataset before we can use it pytorch provides neat abstraction for images with imagefolder and dataloader pytorch expects that data is stored in the following folder structureroot/label_ /root/label_ /root/label_n/for our use casethis would be the following/input/train/cats//input/train/dogs//input/test/cats//input/test/dogs/to simplify the processwe have provided an organized structurewith images suitable for pytorch experimentsat jojomoolayil/catsvsdogs we recommend using kaggle notebook with gpu accelerator for this experiment the settings on the right sidebar show the training data folder structurealong with the accelerator (see figure - we have turned on the internet option and set the accelerator to gpu