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

sample images with weight and no length limit #288

Merged
merged 2 commits into from
Mar 19, 2023
Merged

Conversation

mio7690
Copy link
Contributor

@mio7690 mio7690 commented Mar 12, 2023

Borrow some code from diffusers.

It can support sample images with similar prompts like automatic111 grammar (not the same).

@kohya-ss
Copy link
Owner

Thank you for this! I will merge when I have time.

Long Prompt Weighting Stable Diffusion does not seem to be fully compatible with V2 models in handling EOS/PAD tokens etc. However we already have the modified version of Long Prompt Weighting in gen_img_diffusers.py so I will modify after merging.

@kohya-ss kohya-ss changed the base branch from main to dev March 19, 2023 01:53
@kohya-ss kohya-ss merged commit cfb19ad into kohya-ss:dev Mar 19, 2023
@kohya-ss
Copy link
Owner

I've merged with modification for v2. Thank you!

@bmaltais bmaltais mentioned this pull request Mar 22, 2023
wkpark pushed a commit to wkpark/sd-scripts that referenced this pull request Feb 27, 2024
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

Successfully merging this pull request may close these issues.

2 participants