-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Multiple errors from code example in Datasets doc page #79
Comments
If I forget about getting it to download the dataset, and I instead manually download, then it says the directory is empty (which it's not): !wget -N https://storage.googleapis.com/magentadata/datasets/maestro/v3.0.0/maestro-v3.0.0-midi.zip
!unzip -n -qq maestro-v3.0.0-midi.zip
!ln -s maestro-v3.0.0 Maestro
mds = muspy.FolderDataset('/content/Maestro/2004/')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
[<ipython-input-20-2a39065f183f>](https://localhost:8080/#) in <cell line: 1>()
----> 1 mds = muspy.FolderDataset('/content/Maestro/2004/')
[/usr/local/lib/python3.10/dist-packages/muspy/datasets/base.py](https://localhost:8080/#) in __init__(self, root, convert, kind, n_jobs, ignore_exceptions, use_converted)
917
918 if not self._filenames:
--> 919 raise ValueError("Nothing found in the directory.")
920
921 (self.root / ".muspy.success").touch()
ValueError: Nothing found in the directory. But a simple ls shows:
Not sure what to do at this point. Any tips? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I'm excited to try this but having trouble with the instructions. Taking the code from the page: https://salu133445.github.io/muspy/datasets/index.html
Even just the top part:
Results in the error:
Apparently it's not creating the directory it needs, however that's not the only issue. If I manually create the directory via
and then re-run that code, then we get a new errors:
Steps to reproduce:
pip install muspy
Here's a link to a Colab notebook where this is implemented:
https://colab.research.google.com/drive/1dGwwqoJ1fa53zeKQCNdL9jvce_qEUF3B?usp=sharing
The text was updated successfully, but these errors were encountered: