facebookresearch / audiocraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
20.5k stars 2.06k forks source link

musicgen on ubuntu, unboundlocalerror #250

Closed jayantbansal21 closed 1 year ago

jayantbansal21 commented 1 year ago

I am trying to run the music gen on an amazon g4dn.xlarge ec2. I have already install cuda and other dependency software, I am getting this error while trying to run the code.

Screenshot 2023-08-25 at 1 38 02 PM
adefossez commented 1 year ago

this is a bug from HuggingFace Transformers, as a temporary fix, please install protobuf (pip install protobuf)

jayantbansal21 commented 1 year ago

Thanks, it worked