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
bb2262de
Commit
bb2262de
authored
Dec 06, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #1002
parent
9a1043e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tensorpack/dataflow/imgaug/base.py
tensorpack/dataflow/imgaug/base.py
+1
-2
tensorpack/train/trainers.py
tensorpack/train/trainers.py
+2
-1
No files found.
tensorpack/dataflow/imgaug/base.py
View file @
bb2262de
...
...
@@ -49,8 +49,7 @@ class Augmentor(object):
This can be used in, e.g. augmentation for image, masks, keypoints altogether.
Returns:
augmented data
augmentation params: can be any type
(augmented data, augmentation params)
"""
return
self
.
_augment_return_params
(
d
)
...
...
tensorpack/train/trainers.py
View file @
bb2262de
...
...
@@ -165,6 +165,7 @@ class SyncMultiGPUTrainerReplicated(SingleCostTrainer):
Supported values: ['nccl', 'hierarchical', 'cpu'].
Default to pick automatically by heuristics.
These modes may have slight (within 5
%
) differences in speed.
"hierarchical" mode was designed for DGX-like 8GPU machines.
use_nccl: deprecated option
"""
self
.
devices
=
gpus
...
...
@@ -173,7 +174,7 @@ class SyncMultiGPUTrainerReplicated(SingleCostTrainer):
mode
=
'nccl'
if
use_nccl
else
None
log_deprecated
(
"use_nccl option"
,
"Use the `mode` option instead!"
,
"2019-01-31"
)
if
mode
is
None
:
mode
=
'hierarchical'
if
len
(
gpus
)
>
=
8
else
'nccl'
mode
=
'hierarchical'
if
len
(
gpus
)
=
=
8
else
'nccl'
mode
=
mode
.
lower
()
self
.
_builder
=
SyncMultiGPUReplicatedBuilder
(
gpus
,
average
,
mode
)
...
...
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