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

does it support few-shot? #49

Open
jackwolfey opened this issue Jun 4, 2024 · 3 comments
Open

does it support few-shot? #49

jackwolfey opened this issue Jun 4, 2024 · 3 comments

Comments

@jackwolfey
Copy link

Does the model's inference support few-shots, or is there a way for the model to take features from multiple reference characters and then inference? Nice work by the way.

@yeungchenwa
Copy link
Owner

hi@jackwolfey, thanks for your attention~ You can concatenate multiple reference character features into a feature sequence and then inject into our Denoiser (UNet) through cross-attention. It just needs to modify the style hidden state dimension.

@jackwolfey
Copy link
Author

@yeungchenwa Thanks for your reply. I tried to locate the code that needs to be modified, as you mentioned below, but I actually don't know how to modify it. I am a beginner in the AI programming area, so could you please provide me with some detailed information or instructions on how to modify it? Thank you very much.
pycharm64_2nkJhTGUjc

@chenjingcheng
Copy link

@yeungchenwa Thanks for your reply. I tried to locate the code that needs to be modified, as you mentioned below, but I actually don't know how to modify it. I am a beginner in the AI programming area, so could you please provide me with some detailed information or instructions on how to modify it? Thank you very much. pycharm64_2nkJhTGUjc

您好,请问解决了吗?我也想验证下,单张图片很难获得特征风格,除非是训练时用过的字体。谢谢!

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