inswapper
inswapper copied to clipboard
output and inferred shape have different ranks - when running the example in readme
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.
any solution?
I'm having the same issue.
is there any solution for this error its happening on Mac
any solution?