AudioLDM2 icon indicating copy to clipboard operation
AudioLDM2 copied to clipboard

RuntimeError: Pretrained weights not found for model HTSAT-base.

Open glory20h opened this issue 2 years ago • 3 comments

Hello, thank you for sharing the model of your amazing work.

I wish to try out speech generation based on (1) the transcription and (2) the description of the speaker.

However, when I run audioldm2 -t "A female reporter is speaking full of emotion" --transcription "Wish you have a good day", I get an error,

RuntimeError: Pretrained weights (/mnt/bn/lqhaoheliu/exps/checkpoints/audioldm/2023_04_07_audioldm_clap_v2_yusong/music_speech_audioset_epoch_15_esc_89.98.pt) not found for model HTSAT-base.

What could I be doing wrong?

Many thanks,

glory20h avatar Aug 16 '23 10:08 glory20h

Comment out this line of code :/mnt/bn/lqhaoheliu/exps/checkpoints/audioldm/2023_04_07_audioldm_clap_v2_yusong/music_speech_audioset_epoch_15_esc_89.98.pt

SuperiorDtj avatar Aug 17 '23 08:08 SuperiorDtj

Comment out this line of code :/mnt/bn/lqhaoheliu/exps/checkpoints/audioldm/2023_04_07_audioldm_clap_v2_yusong/music_speech_audioset_epoch_15_esc_89.98.pt

In which file does this line appear?

KalimeroJr avatar Aug 17 '23 16:08 KalimeroJr

Comment out this line of code :/mnt/bn/lqhaoheliu/exps/checkpoints/audioldm/2023_04_07_audioldm_clap_v2_yusong/music_speech_audioset_epoch_15_esc_89.98.pt

In which file does this line appear?

The file name is utils.py If you installed AudioLDM2 with this command pip3 install git+https://github.com/haoheliu/AudioLDM2.git you can run this command to locate this file pip3 show AudioLDM2. This will display the path where AudioLDM2 is installed. You can change your directory to that path. For example, my path was "/usr/local/lib/python3.10/dist-packages/audioldm2".

ahmedosman2001 avatar Aug 18 '23 13:08 ahmedosman2001