Evan Zamir
Feb 13, 2024

--

The dataloader_caching.py snippet has some issues. There is no method in DataLoader called "load_dataset_from_file". In "load_dataset" reference is made to self.file_path, but it should be self._file_path (or have a property called file_path). In load_dataset "self.file_path" has the same issue which is that it should be "self._file_path" or have a property called file_path. Additionally when load_dataset is called it is only loading the dataset into a temporary variable called dataset, not self._dataset.

--

--

Evan Zamir
Evan Zamir

Written by Evan Zamir

Data Scientist. San Francisco.

Responses (1)