"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "89efc607ef539ca1d9321dfcb8b0a8879e3d6c45"
Commit 5691cc08 authored by Alan Yee's avatar Alan Yee Committed by GitHub
Browse files

Fix print statement formatting

parent c541d653
...@@ -51,7 +51,7 @@ for epoch in range(training_epochs): ...@@ -51,7 +51,7 @@ for epoch in range(training_epochs):
# Display logs per epoch step # Display logs per epoch step
if epoch % display_step == 0: if epoch % display_step == 0:
print("Epoch: ", '%d,' % (epoch + 1), print("Epoch:", '%d,' % (epoch + 1),
"Cost: ", "{:.9f}".format(avg_cost)) "Cost:", "{:.9f}".format(avg_cost))
print("Total cost: " + str(autoencoder.calc_total_cost(X_test))) print("Total cost: " + str(autoencoder.calc_total_cost(X_test)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment