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

output and inferred shape have different ranks - when running the example in readme #20

Open
bamtheboozle opened this issue Apr 10, 2024 · 9 comments

Comments

@bamtheboozle
Copy link

bamtheboozle commented Apr 10, 2024

following the basic example in readme, (swap man1 and man2 into mans1.jpeg) it does not generate the face swap and it throws:

running on a mac, CPU provider

2024-04-10 10:17:33.073537 [E:onnxruntime:, sequential_executor.cc:514 ExecuteKernel] Non-zero status code returned while running CoreML_11777492068329204276_6 node. Name:'CoreMLExecutionProvider_CoreML_11777492068329204276_6_6' Status Message: Exception: /Users/runner/work/1/s/onnxruntime/core/providers/coreml/model/model.mm:71 InlinedVector<int64_t> (anonymous namespace)::GetStaticOutputShape(gsl::span<const int64_t>, gsl::span<const int64_t>, const logging::Logger &) inferred_shape.size() == coreml_static_shape.size() was false. CoreML static output shape ({1,1,1,800,1}) and inferred shape ({3200,1}) have different ranks.

@bamtheboozle bamtheboozle changed the title non zero code when running the example in readme output and inferred shape have different ranks - when running the example in readme Apr 10, 2024
@Toshi711
Copy link

Toshi711 commented Jun 5, 2024

any solution?

@stefanotto
Copy link

I'm having the same issue.

@virtuemantra
Copy link

virtuemantra commented Jul 4, 2024

is there any solution for this error its happening on Mac

@randylu
Copy link

randylu commented Aug 23, 2024

any solution?

@hirozexal
Copy link

@bamtheboozle are you able to find any solution to this? Not sure how to fix this at runtime

@antekone
Copy link

Same issue, any solutions?

@hopye
Copy link

hopye commented Feb 27, 2025

I was using reactor in comfyui perfectly yesterday, today is giving me this same error :
[ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_5101909898278375113_6 node. Name:'CoreMLExecutionProvider_CoreML_5101909898278375113_6_6' Status Message: Exception: /Users/runner/work/1/s/onnxruntime/core/providers/coreml/model/model.mm:66 InlinedVector<int64_t> onnxruntime::coreml::(anonymous namespace)::GetStaticOutputShape(gsl::span, gsl::span, const logging::Logger &) inferred_shape.size() == coreml_static_shape.size() was false. CoreML static output shape ({1,1,1,800,1}) and inferred shape ({3200,1}) have different ranks.

@hopye
Copy link

hopye commented Mar 2, 2025

im still having this issue using comfyui-reactor , it was working and then I know what happened ,lol

@ashleykleynhans
Copy link
Contributor

@hopye this has nothing to do with comfyui-reactor, it is a stand-alone application.

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

9 participants