File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ All the datasets have almost similar API. They all have two common arguments:
2727``transform `` and ``target_transform `` to transform the input and target respectively.
2828You can also create your own datasets using the provided :ref: `base classes <base_classes_datasets >`.
2929
30+ .. warning ::
31+
32+ When a dataset object is created with ``download=True ``, the files are first
33+ downloaded and extracted in the root directory. This download logic is not
34+ multi-process safe, so it may lead to conflicts / race conditions if it is
35+ run within a distributed setting. In distributed mode, we recommend creating
36+ a dummy dataset object to trigger the download logic *before * setting up
37+ distributed mode.
38+
3039Image classification
3140~~~~~~~~~~~~~~~~~~~~
3241
You can’t perform that action at this time.
0 commit comments