We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to run the code on Stable Diffusion 2.1 returns black images (filled with nan values)
nan
After investigating the noise_pred_text gets all values -Inf on SD2.1, whereas in 1.4 they get valid values.
noise_pred_text
-Inf
Any idea on what had changed between the two that might have caused this?
(Running on linux, am able to work out SD2.1 image generation and dream booth training)
The text was updated successfully, but these errors were encountered:
UPDATE:
I was able to make the example code run by removing the @torch.autocast("cuda") and changing the torch.float16 to torch.float32.
@torch.autocast("cuda")
torch.float16
torch.float32
That said the resulted image was not the expected result but rather a noise background.
Sorry, something went wrong.
thanks for the update @nirbenda . Please let me know about any more progress :)
@nirbenda Resize the input color map to 768*768 and add prediction_type="v_prediction" in the LMSDiscreteScheduler used in pipeline may help.
No branches or pull requests
Trying to run the code on Stable Diffusion 2.1 returns black images (filled with
nan
values)After investigating the
noise_pred_text
gets all values-Inf
on SD2.1, whereas in 1.4 they get valid values.Any idea on what had changed between the two that might have caused this?
(Running on linux, am able to work out SD2.1 image generation and dream booth training)
The text was updated successfully, but these errors were encountered: