-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error FailToDownloadPythonDependencies on mnist example #82
Comments
Totally, this is due to an integration with huggingface to load any datasets from the hub. It requires |
@mwbryant yes, python3 is needed, not only for the downloader but also the deps installing. Specified, line118 and line196 in the Actually, I think it might no need to do that, a command line flag |
I think burn would benefit from ditching python all together. I'm experiencing issues with it as well. Not having python involved was the primary reason for my interest in this project :( |
Python is only used to download datasets. When it's done, Rust is used to load and process everything data related. I agree that it would be a nice to avoid Python for the default examples. However, having an integration with hugginface datasets is a plus though, it's an easy access to thousands of datasets with a reasonable Rust API easy to maintain. |
I had the same problem when using with Mac. I believe the general problem is that instead of Also we should add some system checks in the dataset package. |
This is fixed by #185 |
Ubuntu 20.04 LTS
On my machine when running the mnist example I get this message:
I tracked this down to https://github.com/burn-rs/burn/blob/0110ccc96471a404479c5e67801f22309bcf7682/burn-dataset/src/source/huggingface/downloader.rs#L196 which calls the command python when I believe it requires python3
The fix for me was to
apt install python-is-python3
I then had problems with pandas requring a higher version of numpy. The fix for that was
python -m pip install --upgrade numpy
I believe both these are not problems with the library code but with the installation instructions (of which there appear to be none) and might be worth mentioning when those are created.
The text was updated successfully, but these errors were encountered: