Closed HuangMason320 closed 6 months ago
[W:onnxruntime:, coreml_execution_provider.cc:81 GetCapability] CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 67 number of nodes in the graph: 371 number of nodes supported by CoreML: 300
I've got this on Mac env, too.
I found that the version of onnxruntime need to be downgrade(e.g. onnxruntime==1.16.3)
[W:onnxruntime:, coreml_execution_provider.cc:81 GetCapability] CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 67 number of nodes in the graph: 371 number of nodes supported by CoreML: 300
I've got this on Mac env, too.
I found that the version of onnxruntime need to be downgrade(e.g. onnxruntime==1.16.3)
Fixed mine, thanks
Describe the bug Unable to have different result output with different input using SAM model
To Reproduce
i've got this when running code.
[W:onnxruntime:, coreml_execution_provider.cc:81 GetCapability] CoreMLExecutionProvider::GetCapability, number of partitions supported by CoreML: 67 number of nodes in the graph: 371 number of nodes supported by CoreML: 300
Images Input
Output
![test](https://github.com/danielgatis/rembg/assets/100351718/a87c3d82-061d-46db-9312-cc4f91f041aa)
OS Version: MacOS 14.1.2 Python 3.11 Pytorch 2.0.1
Rembg version: v2.0.53
Additional context
I have a custom SAM model(.onnx file) but i'm not sure where to modify
Besides, I've tried to change the code below:
from
to
from
to
from
to
when I apply above change, I got error message:
Could you tell me. Thank you