I’ve gotten the network to run well on the CIFAR-10 dataset, but I’m having a little trouble switching over to this new bird species one since there’s no built-in DataSetIterator like there was for the CIFAR-10. How do I have to format the image file directory to work with the ImageRecordReader? The data-set is saved in the following format currently:
where there are 180 species of birds in each train/test/validation folders.
And then take a look at this part of the mnist classifier example:
The first link should tell you how it is supposed to be used generally, and the second link shows you how it is used to load MNIST train and test data that is effectively organized exactly like your bird species data.
The only real difference is that you’ve got 3 channels instead of 1 and that your width and height values are different.
EDIT: It seems that the ImageRecordReader is going into an in-determinant state:
Exception in thread “main” java.lang.IllegalStateException: Indeterminant state: record must not be null, or a file iterator must exist
Is there anything I can do to fix this? It was able to run for about 1500 iterations as per the UIserver.