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
8c95d1b9
Commit
8c95d1b9
authored
Jun 15, 2017
by
Neal Wu
Committed by
GitHub
Jun 15, 2017
Browse files
Merge pull request #1558 from mbz/master
Fixing the initialization/loading bug.
parents
35f6f9c9
34af79db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
video_prediction/prediction_train.py
video_prediction/prediction_train.py
+2
-1
No files found.
video_prediction/prediction_train.py
View file @
8c95d1b9
...
@@ -204,6 +204,8 @@ def main(unused_argv):
...
@@ -204,6 +204,8 @@ def main(unused_argv):
# Make training session.
# Make training session.
sess
=
tf
.
InteractiveSession
()
sess
=
tf
.
InteractiveSession
()
sess
.
run
(
tf
.
global_variables_initializer
())
summary_writer
=
tf
.
summary
.
FileWriter
(
summary_writer
=
tf
.
summary
.
FileWriter
(
FLAGS
.
event_log_dir
,
graph
=
sess
.
graph
,
flush_secs
=
10
)
FLAGS
.
event_log_dir
,
graph
=
sess
.
graph
,
flush_secs
=
10
)
...
@@ -211,7 +213,6 @@ def main(unused_argv):
...
@@ -211,7 +213,6 @@ def main(unused_argv):
saver
.
restore
(
sess
,
FLAGS
.
pretrained_model
)
saver
.
restore
(
sess
,
FLAGS
.
pretrained_model
)
tf
.
train
.
start_queue_runners
(
sess
)
tf
.
train
.
start_queue_runners
(
sess
)
sess
.
run
(
tf
.
global_variables_initializer
())
tf
.
logging
.
info
(
'iteration number, cost'
)
tf
.
logging
.
info
(
'iteration number, cost'
)
...
...
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