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

pretrained_model in class FirstStagePostProcessor(nn.Module)? #63

Open
yeori1 opened this issue Jan 3, 2024 · 0 comments
Open

pretrained_model in class FirstStagePostProcessor(nn.Module)? #63

yeori1 opened this issue Jan 3, 2024 · 0 comments

Comments

@yeori1
Copy link

yeori1 commented Jan 3, 2024

Hello,

I want to use the pre-trained VAE encoder, so I want to use the function 'encode_with_pretained' in provided in the class 'FirstStagePostProcessor', in audioldm2/latent_diffusion/modules/diffusionmodules/model.py.
https://github.com/haoheliu/AudioLDM2/blob/main/audioldm2/latent_diffusion/modules/diffusionmodules/model.py#L1051

However, I don't know how to set the 'pretrained_model' on the class FirstStagePostProcessor.
https://github.com/haoheliu/AudioLDM2/tree/main/audioldm2/latent_diffusion/modules/diffusionmodules/model.py#L1000

Please help me!

Thank you.

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