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

About the released code #45

Open
CJ416 opened this issue Aug 25, 2024 · 2 comments
Open

About the released code #45

CJ416 opened this issue Aug 25, 2024 · 2 comments

Comments

@CJ416
Copy link

CJ416 commented Aug 25, 2024

hello, haohe. I really appreciate your work! Thank you for your kindness of open sourcing.
In the learning of the training code, I can not find the training of GPT2. In the original paper, embeddings of different modalities were fed into GPT2. But the released code seems to directly use clap embeddings and film to fuse the LOA. Or have I missed some details? Hope you can solve my confusion!

@haoheliu
Copy link
Owner

haoheliu commented Aug 28, 2024

Hi @CJ416 You can find the GPT-2 training related code in this file audioldm_train/modules/audiomae/sequence_gen/sequence_input.py

You might need to modify the yaml config file so that to use GPT-2 output as LDM condition

@CJ416
Copy link
Author

CJ416 commented Aug 28, 2024

Hi @CJ416 You can find the GPT-2 training related code in this file audioldm_train/modules/audiomae/sequence_gen/sequence_input.py

You might need to modify the yaml config file so that to use GPT-2 output as LDM condition

Wow~ Thanks for reply~

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

2 participants