Thank you for the response. I was able to get the first few sections of the notebook working for my purposes. However, the first line in 'Generate Predictions' is giving me trouble. I posted the error below. Any suggestions? I have image files contained in the test_path location, but am returning 0 images from 0 classes. Thanks.
Let's use our new model to make predictions on the test dataset
batches, preds = vgg.test(test_path, batch_size = batch_size*2)
Found 0 images belonging to 0 classes.
Exception in thread Thread-24:
Traceback (most recent call last):
File "/home/ubuntu/anaconda2/lib/python2.7/threading.py", line 801, in _bootstrapinner
File "/home/ubuntu/anaconda2/lib/python2.7/threading.py", line 754, in run
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 433, in data_generator_task
generator_output = next(generator)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/preprocessing/image.py", line 596, in next
index_array, current_index, current_batch_size = next(self.index_generator)
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/preprocessing/image.py", line 444, in flowindex
current_index = (self.batch_index * batch_size) % N
ZeroDivisionError: integer division or modulo by zero