We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e0d74 commit d7a0786Copy full SHA for d7a0786
pytorch_lightning/trainer/connectors/data_connector.py
@@ -60,7 +60,7 @@ def prepare_data(self, model):
60
def can_prepare_data(self):
61
should_call_dm_prepare_data = True
62
if self.trainer.datamodule is not None and is_overridden('prepare_data', self.trainer.datamodule):
63
- should_call_dm_prepare_data = not self.trainer.datamodule.has_prepared_data
+ should_call_dm_prepare_data = not self.trainer.datamodule._has_prepared_data
64
65
if self.trainer.prepare_data_per_node:
66
return self.trainer.local_rank == 0 and should_call_dm_prepare_data
0 commit comments