Skip to content

NameError: name 'init_latent' is not defined #356

Description

@magnusviri

Describe your environment

  • GPU: mps
  • CPU arch: arm
  • OS: macOS
  • Python: Anaconda

Describe the bug
At some point get_noise was moved from here

https://github.com/lstein/stable-diffusion/blame/fe5cc792495ec046092227c956c28bfcc34c6d7b/ldm/simplet2i.py#L349

to here

https://github.com/lstein/stable-diffusion/blame/c22c3dec562821e646fa0ec9a56d5969f4011479/ldm/simplet2i.py#L612

And that broke the scope for init_latent. I'd try to fix it myself but I ran out of time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions