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

TypeError: unsupported operand type(s) #146

Open
dynamodan opened this issue Apr 19, 2023 · 1 comment
Open

TypeError: unsupported operand type(s) #146

dynamodan opened this issue Apr 19, 2023 · 1 comment

Comments

@dynamodan
Copy link

I just installed on manjaro from the AUR (which builds from this git repo), and getting this error:

/opt/stable-diffusion-intel  python demo.py --prompt "apples and oranges in a wooden bowl"
Traceback (most recent call last):
  File "/opt/stable-diffusion-intel/demo.py", line 73, in <module>
    main(args)
  File "/opt/stable-diffusion-intel/demo.py", line 35, in main
    image = engine(
  File "/opt/stable-diffusion-intel/stable_diffusion_engine.py", line 164, in __call__
    latents = latents * self.scheduler.sigmas[0]
TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 'Tensor'
@Ljuk67
Copy link

Ljuk67 commented Dec 8, 2023

I'm getting the same on a Linux Mint 21.1:

python3 demo.py --prompt "Street-art painting of Emilia Clarke in style of Banksy, photorealism"
Traceback (most recent call last):
File "/home//stable_diffusion.openvino/demo.py", line 83, in
main(args)
File "/home/
/stable_diffusion.openvino/demo.py", line 41, in main
image = engine(
File "/home/****/stable_diffusion.openvino/stable_diffusion_engine.py", line 166, in call
latents = latents * self.scheduler.sigmas[0]
TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 'Tensor'

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

2 participants