Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
5691cc08
Commit
5691cc08
authored
Aug 18, 2017
by
Alan Yee
Committed by
GitHub
Aug 18, 2017
Browse files
Fix print statement formatting
parent
c541d653
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
autoencoder/AutoencoderRunner.py
autoencoder/AutoencoderRunner.py
+3
-3
No files found.
autoencoder/AutoencoderRunner.py
View file @
5691cc08
...
@@ -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
)))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment