-
Notifications
You must be signed in to change notification settings - Fork 87
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
Can somebody convert this to coreml? #10
Comments
Hi malemo, You can use coremltools from Apple https://apple.github.io/coremltools/. It's rather simple :) |
I thought it should be simple, but it's not.... I tried using coremltools. I was under the impression that it should be straight line conversion. Well it's not. You have to know original model well, because there're lots of debugging all the conversion errors you have to dig through. Given the fact that I know nothing about this model, how it wast build and all the ins and outs, makes it almost impossible for me to convert it. Thus I was wondering, somebody might have already converted it, or who's knowledgable enough to convert it. |
Which exact model do you want to convert? You can use model.summary() to print all information about layers. The first one should be the input and the last one output. |
I was trying to convert this face parsing model model, which didn't work, as there were lots of errors, which I have no ideas how to fix. Then I tried to convert same face parsing model, which was ported to Keras here:(https://github.com/shaoanlu/face_toolbox_keras), which didn't work either, again lots of errors. model.summary() may be helpful but, again, I know noting about how model is build, layers, architecture etc. I just need this face parsing in model in .mlmodel format for iOS. |
Face parsing model is based on BiSeNet. You can find some information about this architecture here: https://arxiv.org/abs/1808.00897. I hope it will be useful. |
hi @Malemo, |
No description provided.
The text was updated successfully, but these errors were encountered: