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
100ae5a0
Commit
100ae5a0
authored
Nov 18, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warn about #497
parent
48375921
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
examples/ResNet/README.md
examples/ResNet/README.md
+3
-2
tensorpack/tfutils/sesscreate.py
tensorpack/tfutils/sesscreate.py
+4
-0
No files found.
examples/ResNet/README.md
View file @
100ae5a0
...
@@ -24,8 +24,9 @@ To train, just run:
...
@@ -24,8 +24,9 @@ To train, just run:
```
bash
```
bash
./imagenet-resnet.py
--data
/path/to/original/ILSVRC
--gpu
0,1,2,3
-d
50
[
--mode
resnet/preact/se]
./imagenet-resnet.py
--data
/path/to/original/ILSVRC
--gpu
0,1,2,3
-d
50
[
--mode
resnet/preact/se]
```
```
You should be able to see good GPU utilization (around 95%), if your data is fast enough.
You should be able to see good GPU utilization (95%~99%), if your data is fast enough.
See the
[
tutorial
](
http://tensorpack.readthedocs.io/en/latest/tutorial/efficient-dataflow.html
)
on how to speed up your data.
The default data pipeline is probably OK for most systems.
See the
[
tutorial
](
http://tensorpack.readthedocs.io/en/latest/tutorial/efficient-dataflow.html
)
on other options to speed up your data.


...
...
tensorpack/tfutils/sesscreate.py
View file @
100ae5a0
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
import
tensorflow
as
tf
import
tensorflow
as
tf
from
.common
import
get_default_sess_config
from
.common
import
get_default_sess_config
from
..utils
import
logger
__all__
=
[
'NewSessionCreator'
,
'ReuseSessionCreator'
,
'SessionCreatorAdapter'
]
__all__
=
[
'NewSessionCreator'
,
'ReuseSessionCreator'
,
'SessionCreatorAdapter'
]
...
@@ -33,6 +34,9 @@ class NewSessionCreator(tf.train.ChiefSessionCreator):
...
@@ -33,6 +34,9 @@ class NewSessionCreator(tf.train.ChiefSessionCreator):
config
=
get_default_sess_config
()
config
=
get_default_sess_config
()
else
:
else
:
self
.
user_provided_config
=
True
self
.
user_provided_config
=
True
logger
.
warn
(
"Some options in custom session config may not work due to TF
\
bugs. See https://github.com/ppwwyyxx/tensorpack/issues/497 for workarounds."
)
self
.
config
=
config
self
.
config
=
config
super
(
NewSessionCreator
,
self
)
.
__init__
(
master
=
target
,
config
=
config
)
super
(
NewSessionCreator
,
self
)
.
__init__
(
master
=
target
,
config
=
config
)
...
...
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