haoheliu / AudioLDM

AudioLDM: Generate speech, sound effects, music and beyond, with text.
https://audioldm.github.io/
Other
2.43k stars 222 forks source link

TypeError: Invalid file: 45.0 #32

Open Jiraxys opened 1 year ago

Jiraxys commented 1 year ago

(i think i posted this somewhere else too, sorry if its not related to that place) Hello, when running app.py, i get a large error, not sure what to do. error:

FutureWarning: Pass size=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error fft_window = librosa.util.pad_center(fft_window, n_fft) C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3191.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] Some weights of the model checkpoint at roberta-base were not used when initializing RobertaModel: ['lm_head.dense.bias', 'lm_head.bias', 'lm_head.dense.weight', 'lm_head.layer_norm.weight', 'lm_head.layer_norm.bias']

haoheliu commented 1 year ago

@Jiraxys Hi thanks for reporting this. I'll look into it now.

haoheliu commented 1 year ago

@Jiraxys Hi now the issue should be fixed. Please re-clone this project and try again. Thanks!

Jiraxys commented 1 year ago

@haoheliu thanks a lot, seems to be working. however i think there is something wrong with the UI, it seems to be all black and when im pressing the invisible play button nothing happens. there is an error when looing at source element: