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
2d5b44e6
You need to sign in or sign up before continuing.
Commit
2d5b44e6
authored
Jul 30, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build
parent
5134338e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
8 deletions
+13
-8
tensorpack/callbacks/inference_runner.py
tensorpack/callbacks/inference_runner.py
+2
-1
tensorpack/callbacks/steps.py
tensorpack/callbacks/steps.py
+2
-1
tensorpack/dataflow/common.py
tensorpack/dataflow/common.py
+2
-1
tensorpack/dataflow/dftools.py
tensorpack/dataflow/dftools.py
+2
-1
tensorpack/dataflow/format.py
tensorpack/dataflow/format.py
+2
-1
tensorpack/utils/utils.py
tensorpack/utils/utils.py
+3
-3
No files found.
tensorpack/callbacks/inference_runner.py
View file @
2d5b44e6
...
@@ -13,7 +13,8 @@ import tqdm
...
@@ -13,7 +13,8 @@ import tqdm
import
six
import
six
from
six.moves
import
range
from
six.moves
import
range
from
..utils
import
logger
,
get_tqdm_kwargs
from
..utils
import
logger
from
..utils.utils
import
get_tqdm_kwargs
from
..utils.develop
import
deprecated
from
..utils.develop
import
deprecated
from
..dataflow
import
DataFlow
from
..dataflow
import
DataFlow
...
...
tensorpack/callbacks/steps.py
View file @
2d5b44e6
...
@@ -8,7 +8,8 @@ import tensorflow as tf
...
@@ -8,7 +8,8 @@ import tensorflow as tf
from
six.moves
import
zip
from
six.moves
import
zip
import
tqdm
import
tqdm
from
..utils
import
logger
,
get_tqdm_kwargs
from
..utils
import
logger
from
..utils.utils
import
get_tqdm_kwargs
from
..utils.naming
import
GLOBAL_STEP_INCR_OP_NAME
from
..utils.naming
import
GLOBAL_STEP_INCR_OP_NAME
from
..tfutils.common
import
(
from
..tfutils.common
import
(
get_op_tensor_name
,
get_global_step_var
,
get_op_tensor_name
,
get_global_step_var
,
...
...
tensorpack/dataflow/common.py
View file @
2d5b44e6
...
@@ -10,7 +10,8 @@ from termcolor import colored
...
@@ -10,7 +10,8 @@ from termcolor import colored
from
collections
import
deque
,
defaultdict
from
collections
import
deque
,
defaultdict
from
six.moves
import
range
,
map
from
six.moves
import
range
,
map
from
.base
import
DataFlow
,
ProxyDataFlow
,
RNGDataFlow
from
.base
import
DataFlow
,
ProxyDataFlow
,
RNGDataFlow
from
..utils
import
logger
,
get_tqdm
,
get_rng
from
..utils
import
logger
,
get_rng
from
..utils.utils
import
get_tqdm
from
..utils.develop
import
log_deprecated
from
..utils.develop
import
log_deprecated
__all__
=
[
'TestDataSpeed'
,
'PrintData'
,
'BatchData'
,
'BatchDataByShape'
,
'FixedSizeData'
,
'MapData'
,
__all__
=
[
'TestDataSpeed'
,
'PrintData'
,
'BatchData'
,
'BatchDataByShape'
,
'FixedSizeData'
,
'MapData'
,
...
...
tensorpack/dataflow/dftools.py
View file @
2d5b44e6
...
@@ -7,7 +7,8 @@ import multiprocessing as mp
...
@@ -7,7 +7,8 @@ import multiprocessing as mp
from
six.moves
import
range
from
six.moves
import
range
from
.base
import
DataFlow
from
.base
import
DataFlow
from
..utils
import
get_tqdm
,
logger
from
..utils
import
logger
from
..utils.utils
import
get_tqdm
from
..utils.concurrency
import
DIE
from
..utils.concurrency
import
DIE
from
..utils.serialize
import
dumps
from
..utils.serialize
import
dumps
...
...
tensorpack/dataflow/format.py
View file @
2d5b44e6
...
@@ -7,7 +7,8 @@ import six
...
@@ -7,7 +7,8 @@ import six
from
six.moves
import
range
from
six.moves
import
range
import
os
import
os
from
..utils
import
logger
,
get_tqdm
from
..utils
import
logger
from
..utils.utils
import
get_tqdm
from
..utils.timer
import
timed_operation
from
..utils.timer
import
timed_operation
from
..utils.loadcaffe
import
get_caffe_pb
from
..utils.loadcaffe
import
get_caffe_pb
from
..utils.serialize
import
loads
from
..utils.serialize
import
loads
...
...
tensorpack/utils/utils.py
View file @
2d5b44e6
...
@@ -15,7 +15,7 @@ __all__ = ['change_env',
...
@@ -15,7 +15,7 @@ __all__ = ['change_env',
'get_rng'
,
'get_rng'
,
'fix_rng_seed'
,
'fix_rng_seed'
,
# 'get_tqdm_kwargs',
# 'get_tqdm_kwargs',
#
'get_tqdm',
'get_tqdm'
,
'execute_only_once'
,
'execute_only_once'
,
]
]
...
@@ -122,6 +122,6 @@ def get_tqdm_kwargs(**kwargs):
...
@@ -122,6 +122,6 @@ def get_tqdm_kwargs(**kwargs):
def
get_tqdm
(
**
kwargs
):
def
get_tqdm
(
**
kwargs
):
""" Similar to :func:`get_tqdm_kwargs`,
but returns the tqdm object
""" Similar to :func:`get_tqdm_kwargs`,
directly. """
but returns the tqdm object
directly. """
return
tqdm
(
**
get_tqdm_kwargs
(
**
kwargs
))
return
tqdm
(
**
get_tqdm_kwargs
(
**
kwargs
))
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