Skip to content

Instantly share code, notes, and snippets.

@yerkbn
Created April 16, 2019 09:13
Show Gist options
  • Save yerkbn/0f86b08122d9972b12beac1644600f84 to your computer and use it in GitHub Desktop.
Save yerkbn/0f86b08122d9972b12beac1644600f84 to your computer and use it in GitHub Desktop.
# Here we set model configuration It all defined at the beginig
model.fit(
{'input': X},
{'targets': Y},
n_epoch=EPOCHE,
validation_set=({'input': test_x}, {'targets': test_y}),
snapshot_step=500, show_metric=True, run_id=MODEL_NAME
)
model.save(MODEL_NAME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment