Skip to content
Snippets Groups Projects

Making use of LightningDataModule and simplification of data loading

Merged Daniel CARRON requested to merge add-datamodule into main
Compare and Show latest version
7 files
+ 20
9
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -429,7 +429,7 @@ class CachingDataModule(lightning.LightningDataModule):
the system. Set to >= 1 to enable that many multiprocessing
instances for data loading.
It sets the parameter ``num_workers`` (from Dataloaders) to match the
It sets the parameter ``num_workers`` (from DataLoaders) to match the
expected pytorch representation. For macOS machines, it also sets the
``multiprocessing_context`` to use ``spawn`` instead of the default.
Loading