Closed jacquesdurden closed 3 years ago
Hi,
Sorry for the inconvenience, we'll provide a better way to handle this.
For now, you can fix the error by adding a .lighton.json
file in your home directory, containing the following line:
{ "ml_data_path": "/path/to/mldata" }
Where /path/to/mldata
is a writable directory. MNIST
dataset will be downloaded the first time you call the MNIST()
function, the same holds for the other datasets in this module.
With version 1.4, we added a better error message, and more ways to specify the data directory:
lightonml.set_ml_data_dir()
functionLIGHTONML_DATA_DIR
environment variableSee https://docs.lighton.ai/lightonml.datasets.html for complete documentation
Dear all,
When I launch the example "Kernel methods and Random features approximation" in https://docs.lighton.ai/examples/kernels_and_random_features.html#Kernel-Ridge-Classification-and-Approximating-Kernels I got an error message that seems to point to a missing "lighton.json".
Here is the error:
Thank you for your help.