huggingface / sam2-studio

Apache License 2.0
214 stars 15 forks source link

iPhone/iPad support #24

Open petersibley opened 1 week ago

petersibley commented 1 week ago

Are you planning on supporting those platforms?

Do you happen to know if the tiny or small CoreML models will run on iPad or iPhone hardware.

Thanks.

petersibley commented 6 days ago

Using the logic in the CLI target I coded up a quick swiftUI only app to try running on my iPhone13Pro using the Tiny SAM2 model. I ended up just getting NaNs in the mask in SAM2.getMask. I assume these aren't supported on iPhone hardware?

ProjectJarvis1 commented 1 day ago

Are you planning on supporting those platforms?

Do you happen to know if the tiny or small CoreML models will run on iPad or iPhone hardware.

Thanks.

https://huggingface.co/apple/coreml-sam2-tiny

Does this help?

petersibley commented 1 day ago

That (https://huggingface.co/apple/coreml-sam2-tiny) was the model I tried using when I encountered the NaN errors.