Skip to content

Commit 88a0b1f

Browse files
author
Aaron Richter
authored
Merge pull request #12 from saturncloud/bugfix/s3anon
kwargs damn youuuu
2 parents b016ca8 + 0068b90 commit 88a0b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dask_pytorch_ddp/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(
8585
self.s3_bucket = s3_bucket
8686
self.s3_prefix = s3_prefix
8787
self.anon = anon
88-
self.all_files = _list_all_files(s3_bucket, s3_prefix, anon)
88+
self.all_files = _list_all_files(s3_bucket, s3_prefix, anon=anon)
8989
self.classes = sorted({self._get_class(x) for x in self.all_files})
9090
self.class_to_idx = {k: idx for idx, k in enumerate(self.classes)}
9191
self.transform = transform

0 commit comments

Comments
 (0)