Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rpicatoste/74b47f775ff00034c278ca060e7783a7 to your computer and use it in GitHub Desktop.
Save rpicatoste/74b47f775ff00034c278ca060e7783a7 to your computer and use it in GitHub Desktop.
Shared text
tch_size += direction
if training_config.batch_size < 1:
direction *= -1
previous_epoch_time = current_epoch_time
file_name = 'model_epoch_{:04}.h5'.format(epoch)
history_file_name = 'model_history.pickle'
try:
if 'linux' in sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment