Hello @Robi
Thank you for providing a link to the source. I am running into all sorts of issues and will check out your repository. For instance, the most recent issue I am facing:
C:\Users\redact\Downloads\fast.ai\deeplearning1\nbs\vgg16.py:213: UserWarning: The semantics of the Keras 2 argument
steps_per_epoch
is not the same as the Keras 1 argumentsamples_per_epoch
.steps_per_epoch
is the number of batches to draw from the generator at each epoch. Basically steps_per_epoch = samples_per_epoch/batch_size. Similarlynb_val_samples
→validation_steps
andval_samples
→steps
arguments have changed. Update your method calls accordingly.
validation_data=val_batches, nb_val_samples=val_batches.nb_sample)
C:\Users\redact\Downloads\fast.ai\deeplearning1\nbs\vgg16.py:213: UserWarning: Update yourfit_generator
call to the Keras 2 API:fit_generator(<keras.pre..., validation_data=<keras.pre..., steps_per_epoch=0, epochs=1, validation_steps=8)
validation_data=val_batches, nb_val_samples=val_batches.nb_sample)
The update from @eljas on Apr 9 from here Keras 2 Released has helped until this roadblock