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

dtype issue #2

Open
CopilotLee opened this issue Jul 19, 2023 · 1 comment
Open

dtype issue #2

CopilotLee opened this issue Jul 19, 2023 · 1 comment

Comments

@CopilotLee
Copy link

File "xxx/canny/pipeline_onnx_stable_diffusion_controlnet.py", line 723, in call
blocksamples = self.controlnet(
File "xxx/miniconda3/envs/ort/lib/python3.10/site-packages/diffusers/pipelines/onnx_utils.py", line 60, in call
return self.model.run(None, inputs)
File "xxx/miniconda3/envs/ort/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 217, in run
return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(int64)) , expected: (tensor(float))

@uchuusen
Copy link
Owner

Hey, sorry for the late reply. This repo isn't really being maintained, but you can take a look at https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16 which should have the most up-to-date version of the the pipeline.

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