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
3c50f47b
Commit
3c50f47b
authored
Mar 14, 2017
by
Neal Wu
Committed by
GitHub
Mar 14, 2017
Browse files
Merge pull request #1167 from tensorflow/inception-filewriter-fix
Switch to the new FileWriter API in Inception
parents
f7fd0012
2af8c3d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
inception/inception/inception_train.py
inception/inception/inception_train.py
+1
-1
No files found.
inception/inception/inception_train.py
View file @
3c50f47b
...
@@ -331,7 +331,7 @@ def train(dataset):
...
@@ -331,7 +331,7 @@ def train(dataset):
summary_writer
=
tf
.
summary
.
FileWriter
(
summary_writer
=
tf
.
summary
.
FileWriter
(
FLAGS
.
train_dir
,
FLAGS
.
train_dir
,
graph
_def
=
sess
.
graph
.
as_graph_def
(
add_shapes
=
True
)
)
graph
=
sess
.
graph
)
for
step
in
range
(
FLAGS
.
max_steps
):
for
step
in
range
(
FLAGS
.
max_steps
):
start_time
=
time
.
time
()
start_time
=
time
.
time
()
...
...
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