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
8d557de8
Commit
8d557de8
authored
Jul 19, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix staging callback blocking bug
parent
9ee5050e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tensorpack/graph_builder/input_source.py
tensorpack/graph_builder/input_source.py
+1
-0
tensorpack/train/base.py
tensorpack/train/base.py
+1
-2
No files found.
tensorpack/graph_builder/input_source.py
View file @
8d557de8
...
...
@@ -411,6 +411,7 @@ class StagingInputWrapper(FeedfreeInput):
def
_before_train
(
self
):
# pre-fill the staging area
logger
.
info
(
"Pre-fillilng staging area ..."
)
for
k
in
range
(
self
.
nr_stage
):
self
.
stage_op
.
run
()
...
...
tensorpack/train/base.py
View file @
8d557de8
...
...
@@ -114,8 +114,7 @@ class Trainer(object):
"""
input_source
.
setup
(
self
.
model
.
get_inputs_desc
())
cbs
=
input_source
.
get_callbacks
()
for
cb
in
cbs
:
self
.
register_callback
(
cb
)
self
.
config
.
callbacks
.
extend
(
cbs
)
def
setup
(
self
):
"""
...
...
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