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

attribute aware img2img workflow #9

Open
freLorbeer opened this issue Aug 2, 2023 · 2 comments
Open

attribute aware img2img workflow #9

freLorbeer opened this issue Aug 2, 2023 · 2 comments

Comments

@freLorbeer
Copy link

Hi thanks for your work!

I am a bit confused about the explicit workflow for attribute manipulation in the img2img generation process.

how can I insert a material/layout/content from an image in the generation process since there is no style_dir param?
Do I need to finetune/train the model on only one image an then use the prompts according to the T2I prompts in the Read.Me (* gets replaced by the learned embedding)? What is the general idea behind the finetuning of the model?

@zyxElsa
Copy link
Owner

zyxElsa commented Aug 3, 2023

Hi. The target concept is injected by replacing the * with the learned token embedding provided by the hypernet. Only the hypernet is trainable during training, and the LDM model is always frozen. The framework works in a per-image-per-hypernet manner.

@surfingnirvana
Copy link

Thank you. How can i train the hypernet with a specific token embedding? Where is the config file to define which attributes to transfer over?

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