musiclm-pytorch icon indicating copy to clipboard operation
musiclm-pytorch copied to clipboard

Getting started

Open jbbqqf opened this issue 1 year ago • 8 comments

I'm really interested in generating music from text. However, I have poor knowledge of the pytorch framework and ML in general.

I appreciate the README a lot. However it's quite implicit, especially for a newbe like me. Is there a way I can get started ?

How to get the ./hubert/hubert_base_ls960.pt and ./hubert/hubert_base_ls960_L9_km500.bin files ? Where to download audio files ?

jbbqqf avatar Mar 01 '23 20:03 jbbqqf

https://huggingface.co/facebook/hubert-base-ls960

Karma-Cat avatar Mar 03 '23 07:03 Karma-Cat

I'm also looking to get this running but haven't had the time to mess around with it yet. As far as getting the audio files I did find this, which I think it's what google used for generating the examples shown in the project page, hope that helps

carlos-kryha avatar Mar 08 '23 10:03 carlos-kryha

in https://huggingface.co/facebook/hubert-base-ls960, there is no .pt file, image

iamliulong avatar Mar 31 '23 06:03 iamliulong

in https://huggingface.co/facebook/hubert-base-ls960, there is no .pt file, image

You can install it in: https://github.com/pytorch/fairseq/tree/master/examples/hubert

that can be found in the model card page.

themostusernameever avatar Apr 01 '23 12:04 themostusernameever

in https://huggingface.co/facebook/hubert-base-ls960, there is no .pt file, image

You can install it in: https://github.com/pytorch/fairseq/tree/master/examples/hubert

that can be found in the model card page.

got that, thanks a lot!

iamliulong avatar Apr 06 '23 03:04 iamliulong

hi. May I ask if you have successfully created a demo and could you share your ideas? I really feel like if I could share your code. thx

implank avatar May 10 '23 03:05 implank

image I'm really interested in generating music from text. However, I have poor knowledge of the pytorch framework and ML in general. what is "/path/to/audio/files", Thank a lots!

hahust191806 avatar Sep 27 '23 09:09 hahust191806

in https://huggingface.co/facebook/hubert-base-ls960, there is no .pt file, image

You can install it in: https://github.com/pytorch/fairseq/tree/master/examples/hubert

that can be found in the model card page.

I downloaded as below image and then, my problem was "KeyError: 'hubert_pretraining'" when I downloaded HuBERT Large (and edited code to checkpoint_path = './hubert/hubert_large_ll60k.pt',), my problem was "AttributeError: 'NoneType' object has no attribute 'task'"

nguyenlamvu123 avatar Jul 29 '24 08:07 nguyenlamvu123