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
5fc1e2f9
Commit
5fc1e2f9
authored
Aug 18, 2019
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing arguments in LocalCLIDebugHook (#191)
parent
c0afb545
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tensorpack/callbacks/hooks.py
tensorpack/callbacks/hooks.py
+1
-1
tensorpack/input_source/input_source.py
tensorpack/input_source/input_source.py
+1
-1
No files found.
tensorpack/callbacks/hooks.py
View file @
5fc1e2f9
...
...
@@ -84,7 +84,7 @@ class TFLocalCLIDebugHook(HookToCallback):
Refer to tensorflow documentation for details.
"""
from
tensorflow.python
import
debug
as
tfdbg
super
(
TFLocalCLIDebugHook
,
self
)
.
__init__
(
tfdbg
.
LocalCLIDebugHook
())
super
(
TFLocalCLIDebugHook
,
self
)
.
__init__
(
tfdbg
.
LocalCLIDebugHook
(
*
args
,
**
kwargs
))
def
add_tensor_filter
(
self
,
*
args
,
**
kwargs
):
"""
...
...
tensorpack/input_source/input_source.py
View file @
5fc1e2f9
...
...
@@ -512,7 +512,7 @@ class TFDatasetInput(FeedfreeInput):
# TODO theoretically it can support dict
assert
isinstance
(
df
,
DataFlow
),
df
assert
isinstance
(
types
,
(
list
,
tuple
)),
types
df
=
MapData
(
df
,
lambda
dp
:
tuple
(
dp
)
)
df
=
MapData
(
df
,
tuple
)
df
.
reset_state
()
ds
=
tf
.
data
.
Dataset
.
from_generator
(
df
.
get_data
,
tuple
(
types
))
...
...
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