kentsommer / keras-inceptionV4

Keras Implementation of Google's Inception-V4 Architecture (includes Keras compatible pre-trained weights)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Training stutters on every epoch end

igrekun opened this issue · comments

Hi!

I found that after switching to Keras-2, training kind of pauses after every epoch for
a noticeable amount of time.

This doesn't happen when training network from scratch for example.

Didn't observe such behaviour when using previous version of inception_v4 with keras-1.

Closing this. Validation generator is the cause, since each batch is counted as a sample, hence it takes much longer to complete validation step and it iterates over data multiple times.

👍