inswapper icon indicating copy to clipboard operation
inswapper copied to clipboard

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

Open bamtheboozle opened this issue 10 months ago • 4 comments

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 avatar Apr 10 '24 07:04 bamtheboozle

any solution?

Toshi711 avatar Jun 05 '24 16:06 Toshi711

I'm having the same issue.

stefanotto avatar Jun 29 '24 09:06 stefanotto

is there any solution for this error its happening on Mac

virtuemantra avatar Jul 04 '24 11:07 virtuemantra

any solution?

randylu avatar Aug 23 '24 00:08 randylu