Created
August 30, 2019 17:45
-
-
Save NMZivkovic/79786480a8a6d7513d3d74eef04c0336 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for epoch in tqdm(range(20)): | |
training_loss.reset_states() | |
training_accuracy.reset_states() | |
for (batch, (input_language, target_language)) in enumerate(data_container.train_data): | |
train_step(input_language, target_language) | |
print ('Epoch {} Loss {:.4f} Accuracy {:.4f}'.format(epoch, train_loss.result(), train_accuracy.result())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment