Skip to content

Commit f734af4

Browse files
Conchylicultorcopybara-github
authored andcommitted
Fix typo of download size not saved correctly
PiperOrigin-RevId: 296003011
1 parent 9315fbe commit f734af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_datasets/core/dataset_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def download_and_prepare(self, download_dir=None, download_config=None):
358358
else: # Mode is forced or stats do not exists yet
359359
logging.info("Computing statistics.")
360360
self.info.compute_dynamic_properties()
361-
self.info.downloaded_size = dl_manager.downloaded_size
361+
self.info.download_size = dl_manager.downloaded_size
362362
# Write DatasetInfo to disk, even if we haven't computed statistics.
363363
self.info.write_to_directory(self._data_dir)
364364
self._log_download_done()

0 commit comments

Comments
 (0)