Fix for #1078
Fix for #1078
Merge pull request #1090 from madisonmay/1078

Fix for #1078

Avoid training 1 epoch if max_epoch is already reached at the beginning of training.