"...data/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "406463efb621f9f25aefc65dce00a1fe29d1d957"
Commit 478f71a2 authored by comfyanonymous's avatar comfyanonymous
Browse files

Remove useless check.

parent 0490ce82
...@@ -16,8 +16,8 @@ class EPS: ...@@ -16,8 +16,8 @@ class EPS:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0) noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else: else:
noise = noise * sigma noise = noise * sigma
if latent_image is not None:
noise += latent_image noise += latent_image
return noise return noise
class V_PREDICTION(EPS): class V_PREDICTION(EPS):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment