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
2b56ede5
Commit
2b56ede5
authored
Feb 16, 2018
by
Asim Shankar
Browse files
Missed comment.
parent
ddf382bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/mnist/mnist_eager.py
official/mnist/mnist_eager.py
+1
-0
No files found.
official/mnist/mnist_eager.py
View file @
2b56ede5
...
@@ -129,6 +129,7 @@ def main(_):
...
@@ -129,6 +129,7 @@ def main(_):
test_dir
,
flush_millis
=
10000
,
name
=
'test'
)
test_dir
,
flush_millis
=
10000
,
name
=
'test'
)
checkpoint_prefix
=
os
.
path
.
join
(
FLAGS
.
checkpoint_dir
,
'ckpt'
)
checkpoint_prefix
=
os
.
path
.
join
(
FLAGS
.
checkpoint_dir
,
'ckpt'
)
# Train and evaluate for 11 epochs.
with
tf
.
device
(
device
):
with
tf
.
device
(
device
):
for
epoch
in
range
(
1
,
11
):
for
epoch
in
range
(
1
,
11
):
with
tfe
.
restore_variables_on_create
(
with
tfe
.
restore_variables_on_create
(
...
...
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