Skip to content
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

Magenta demos not working as !pip install magenta fails on Colab #113

Open
crcdng opened this issue Jul 7, 2023 · 0 comments
Open

Magenta demos not working as !pip install magenta fails on Colab #113

crcdng opened this issue Jul 7, 2023 · 0 comments

Comments

@crcdng
Copy link

crcdng commented Jul 7, 2023

EDIT I went through all notebooks linked from the Website https://magenta.tensorflow.org/demos/colab/, opened them in Colab and checked the environment setup steps:

broken(building numba and llvmlite fails, see below)

  • DDSP Timbre Transfer
  • Music Transformer (doesn't build the old numpy)
  • GANSynth
  • Multitrack MusicVAE
  • Performance RNN (also uses Python2 which ins not supported anymore) 
  • E-Z NSynth
  • MusicVAE
  • Onsets and Frames
  • Latent Constraints (RuntimeError)

also broken: 'Getting Started' example linked from https://magenta.tensorflow.org/get-started/

** works**

  • Music Transcription with Transformers

The command !pip install magenta fails on Colab (as well as on other platforms) because the wheels for numba and llvmlite cannot be built:

The output is:

error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for numba (setup.py) ... error
  ERROR: Failed building wheel for numba
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for llvmlite (setup.py) ... error
ERROR: Failed building wheel for llvmlite

Has someone found a working solution for this? It would be valuable to revive these notebooks for teaching and general in order to play around with Music / Machine Learning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant