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
a0619cd6
Commit
a0619cd6
authored
Jul 30, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean-up imports and docs
parent
bf57d0af
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
21 deletions
+12
-21
docs/modules/RL.rst
docs/modules/RL.rst
+0
-7
docs/modules/index.rst
docs/modules/index.rst
+0
-1
docs/modules/tfutils.rst
docs/modules/tfutils.rst
+8
-9
examples/A3C-Gym/simulator.py
examples/A3C-Gym/simulator.py
+0
-1
examples/Char-RNN/char-rnn.py
examples/Char-RNN/char-rnn.py
+1
-0
tensorpack/models/common.py
tensorpack/models/common.py
+1
-1
tensorpack/tfutils/__init__.py
tensorpack/tfutils/__init__.py
+1
-1
tensorpack/utils/viz.py
tensorpack/utils/viz.py
+1
-1
No files found.
docs/modules/RL.rst
deleted
100644 → 0
View file @
bf57d0af
tensorpack.RL package
=====================
.. automodule:: tensorpack.RL
:members:
:undoc-members:
:show-inheritance:
docs/modules/index.rst
View file @
a0619cd6
...
@@ -12,5 +12,4 @@ API Documentation
...
@@ -12,5 +12,4 @@ API Documentation
predict
predict
tfutils
tfutils
utils
utils
RL
docs/modules/tfutils.rst
View file @
a0619cd6
tensorpack.tfutils package
tensorpack.tfutils package
==========================
==========================
Module contents
---------------
.. automodule:: tensorpack.tfutils
:members:
:undoc-members:
:show-inheritance:
tensorpack.tfutils.collection module
tensorpack.tfutils.collection module
------------------------------------
------------------------------------
...
@@ -88,12 +96,3 @@ tensorpack.tfutils.varreplace module
...
@@ -88,12 +96,3 @@ tensorpack.tfutils.varreplace module
:members:
:members:
:undoc-members:
:undoc-members:
:show-inheritance:
:show-inheritance:
Module contents
---------------
.. automodule:: tensorpack.tfutils
:members:
:undoc-members:
:show-inheritance:
examples/A3C-Gym/simulator.py
View file @
a0619cd6
...
@@ -15,7 +15,6 @@ import six
...
@@ -15,7 +15,6 @@ import six
from
six.moves
import
queue
from
six.moves
import
queue
import
zmq
import
zmq
from
tensorpack.models.common
import
disable_layer_logging
from
tensorpack.callbacks
import
Callback
from
tensorpack.callbacks
import
Callback
from
tensorpack.tfutils.varmanip
import
SessionUpdate
from
tensorpack.tfutils.varmanip
import
SessionUpdate
from
tensorpack.predict
import
OfflinePredictor
from
tensorpack.predict
import
OfflinePredictor
...
...
examples/Char-RNN/char-rnn.py
View file @
a0619cd6
...
@@ -13,6 +13,7 @@ import six
...
@@ -13,6 +13,7 @@ import six
from
six.moves
import
map
,
range
from
six.moves
import
map
,
range
from
tensorpack
import
*
from
tensorpack
import
*
from
tensorpack.tfutils
import
symbolic_functions
,
summary
,
optimizer
from
tensorpack.tfutils.gradproc
import
GlobalNormClip
from
tensorpack.tfutils.gradproc
import
GlobalNormClip
from
tensorpack.utils.globvars
import
globalns
as
param
from
tensorpack.utils.globvars
import
globalns
as
param
...
...
tensorpack/models/common.py
View file @
a0619cd6
...
@@ -17,7 +17,7 @@ from ..utils.develop import building_rtfd
...
@@ -17,7 +17,7 @@ from ..utils.develop import building_rtfd
_LAYER_LOGGED
=
set
()
_LAYER_LOGGED
=
set
()
_LAYER_REGISTERED
=
{}
_LAYER_REGISTERED
=
{}
__all__
=
[
'layer_register'
,
'
disable_layer_logging'
,
'get_registered_layer'
,
'
VariableHolder'
]
__all__
=
[
'layer_register'
,
'VariableHolder'
]
class
VariableHolder
(
object
):
class
VariableHolder
(
object
):
...
...
tensorpack/tfutils/__init__.py
View file @
a0619cd6
...
@@ -34,4 +34,4 @@ for _, module_name, _ in iter_modules(
...
@@ -34,4 +34,4 @@ for _, module_name, _ in iter_modules(
if
module_name
in
_TO_IMPORT
:
if
module_name
in
_TO_IMPORT
:
_global_import
(
module_name
)
# import the content to tfutils.*
_global_import
(
module_name
)
# import the content to tfutils.*
__all__
.
extend
([
'sessinit'
,
'summary'
,
'optimizer'
,
__all__
.
extend
([
'sessinit'
,
'summary'
,
'optimizer'
,
'sesscreate'
,
'gradproc'
,
'varreplace'
])
'sesscreate'
,
'gradproc'
,
'varreplace'
,
'symbolic_functions'
])
tensorpack/utils/viz.py
View file @
a0619cd6
...
@@ -161,7 +161,7 @@ def stack_patches(
...
@@ -161,7 +161,7 @@ def stack_patches(
"""
"""
Stacked patches into grid, to produce visualizations like the following:
Stacked patches into grid, to produce visualizations like the following:
.. image:: https://github.com/ppwwyyxx/tensorpack/raw/master/examples/GAN/demo/CelebA-samples.jpg
.. image:: https://github.com/ppwwyyxx/tensorpack/raw/master/examples/GAN/demo/
BEGAN-
CelebA-samples.jpg
Args:
Args:
patch_list(list[ndarray] or ndarray): NHW or NHWC images in [0,255].
patch_list(list[ndarray] or ndarray): NHW or NHWC images in [0,255].
...
...
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