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

CoreML model #45

Open
ynie opened this issue Jul 25, 2024 · 8 comments
Open

CoreML model #45

ynie opened this issue Jul 25, 2024 · 8 comments

Comments

@ynie
Copy link

ynie commented Jul 25, 2024

Hey ZhengPeng,

I'm interested in helping you to convert this model to CoreML, so it can run on Apple device locally. I'm planning to take a look in late August for this. Have you done similar work before?

Thanks!

@ZhengPeng7
Copy link
Owner

That would be an interesting work! But I didn't know much about app CoreML and deployment... If you want to do it, I can offer any help with the model and algorithm of BiRefNet and segmentation. Really love to see this open-source project to be used by more people.

Regards

@ynie
Copy link
Author

ynie commented Jul 25, 2024

Awesome. I will keep you posted in this issue.

@ZhengPeng7 ZhengPeng7 added the ONNX label Aug 7, 2024
@ZhengPeng7
Copy link
Owner

ZhengPeng7 commented Aug 18, 2024

Hi, Steven~
You can now find the ONNX files of all weights files in the GitHub release or the ONNX folder in the stuff folder on my GDrive. They may do some help if you want to do some deployment on Apps.

@ynie
Copy link
Author

ynie commented Aug 19, 2024

Hey Peng,

Thanks for your ONNX model! I can give it a try in few weeks after I wrap up the current work. However, I believe ONNX model can only run on CPU on iOS. I could be wrong tho. I can reply to this thread once I find out more. Thanks again!

@Dong-Studio
Copy link

hi,ynie~
I’m really excited to see your idea. The lightweight version can be converted into iOS CoreML format so that it can run locally on the iPhone. Will you continue to research it?

@mrlzla
Copy link

mrlzla commented Aug 27, 2024

Has someone managed to convert the model to coreml?

@pierre1618
Copy link

i tried to convert it to coreml and i feel i was close to succeed but i got an error with the DeformConv2d function that i tried to fix with this package. If someone want to take a look to my error here.

@czxichen
Copy link

czxichen commented Nov 4, 2024

Does coreml support progress? I am using ort's coreml backend and it keeps blocking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants