This repository was archived by the owner on Oct 8, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
There's been an update to numpy v1.24.0 where that function call has been removed. Try installing an older version of numpy: You might see some warning about incompatible protobuf but you can ignore them. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tried running the "python txt2img_onnx.py" after going through the initial install, but I am receiving an error instead of generating any images in the output folder. Any help would be appreciated.
Traceback (most recent call last):
File "C:\Users\ethan\stable_diff\txt2img_onnx.py", line 99, in
images = pipe(
File "C:\Users\ethan\stable_diff\virtualenv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_onnx_stable_diffusion.py", line 250, in call
latents = latents * np.float(self.scheduler.init_noise_sigma)
File "C:\Users\ethan\stable_diff\virtualenv\lib\site-packages\numpy_init_.py", line 284, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float'. Did you mean: 'cfloat'?
Beta Was this translation helpful? Give feedback.
All reactions