Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
SOLOv2-pytorch
Commits
db1764b7
Commit
db1764b7
authored
Nov 24, 2019
by
Thomas Hossler
Committed by
Kai Chen
Nov 24, 2019
Browse files
shuffle passed as function argument instead of kwargs (#1693)
parent
625efeb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet/datasets/loader/build_loader.py
mmdet/datasets/loader/build_loader.py
+1
-1
No files found.
mmdet/datasets/loader/build_loader.py
View file @
db1764b7
...
...
@@ -19,8 +19,8 @@ def build_dataloader(dataset,
workers_per_gpu
,
num_gpus
=
1
,
dist
=
True
,
shuffle
=
True
,
**
kwargs
):
shuffle
=
kwargs
.
get
(
'shuffle'
,
True
)
if
dist
:
rank
,
world_size
=
get_dist_info
()
if
shuffle
:
...
...
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