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

Problems generating with --init-image #3

Closed
aengusl opened this issue Sep 15, 2022 · 4 comments
Closed

Problems generating with --init-image #3

aengusl opened this issue Sep 15, 2022 · 4 comments

Comments

@aengusl
Copy link

aengusl commented Sep 15, 2022

Hey!

Thank you so much for this resource, it's awesome!

I've come across an issue when i try to generate using the img2img functionality. I ran the command

imagine "painting of a dog surfing" --init-image "outputs/000001_528675053_plms40_PS7.5_a_dog_with_sunglasses_surfing_a_wave.jpg"

and I got this error

AttributeError: 'PLMSSampler' object has no attribute 'stochastic_encode'

I kept getting this error after also trying to use a seed, and changing number of steps.

@wseagar
Copy link
Contributor

wseagar commented Sep 15, 2022

Hi @aengusl.

For the moment please use the ddim sampler with init-image as there are some bugs with other samplers + init image right now.

try

imagine "painting of a dog surfing" --sampler-type "ddim" --init-image "outputs/000001_528675053_plms40_PS7.5_a_dog_with_sunglasses_surfing_a_wave.jpg"

@brycedrennan
Copy link
Owner

whoops, it was supposed to autoselect ddim if you choose provide init-image. will fix.

@brycedrennan
Copy link
Owner

fixed now in v 1.1.4. thanks for reporting

@aengusl
Copy link
Author

aengusl commented Sep 15, 2022

cheers!

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