Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
79148350
Commit
79148350
authored
Dec 19, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a similar issue like #1020
parent
b81758c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tensorpack/predict/multigpu.py
tensorpack/predict/multigpu.py
+2
-1
No files found.
tensorpack/predict/multigpu.py
View file @
79148350
...
@@ -114,7 +114,8 @@ class DataParallelOfflinePredictor(OnlinePredictor):
...
@@ -114,7 +114,8 @@ class DataParallelOfflinePredictor(OnlinePredictor):
input_tensors
.
extend
(
h
.
get_tensors
(
config
.
input_names
))
input_tensors
.
extend
(
h
.
get_tensors
(
config
.
input_names
))
output_tensors
.
extend
(
h
.
get_tensors
(
config
.
output_names
))
output_tensors
.
extend
(
h
.
get_tensors
(
config
.
output_names
))
config
.
session_init
.
_setup_graph
()
sess
=
config
.
session_creator
.
create_session
()
sess
=
config
.
session_creator
.
create_session
()
config
.
session_init
.
init
(
sess
)
config
.
session_init
.
_run_
init
(
sess
)
super
(
DataParallelOfflinePredictor
,
self
)
.
__init__
(
super
(
DataParallelOfflinePredictor
,
self
)
.
__init__
(
input_tensors
,
output_tensors
,
config
.
return_input
,
sess
)
input_tensors
,
output_tensors
,
config
.
return_input
,
sess
)
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