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 optimize Pctxt #10

Open
shouwangzhe200 opened this issue Dec 21, 2023 · 2 comments
Open

About optimize Pctxt #10

shouwangzhe200 opened this issue Dec 21, 2023 · 2 comments

Comments

@shouwangzhe200
Copy link

image
According to above equation, is it only the learnable prompt Pctxt trained during finetune? Or the paramters of Unet are also finetuned at the same time?

@icsl-Jeon
Copy link

I am also very curious..

@lijiaxing0213
Copy link

Optimization should only be performed on the embeddings of the task prompt, while the parameters of the unet are frozen. You can refer to the implementation of the EmbeddingLayerWithFixes class at https://mmagic.readthedocs.io/en/latest/autoapi/mmagic/models/editors/disco_diffusion/clip_wrapper/index.html#mmagic.models.editors.disco_diffusion.clip_wrapper.EmbeddingLayerWithFixes.

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

3 participants