-
Notifications
You must be signed in to change notification settings - Fork 114
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
add more info regarding data model n its training #1
Comments
yes. That's will be useful. So far, don't know how to train it |
I have an idea regarding the app, if you are willing we can discuss it. |
can you upload your trained model |
A more in-depth instructions will follow. Bear with me, I'm currently on vacation, so it may take some while. |
Hi @m-ruhl, Thanks for the latest sample on ARKit. I downloaded the project but |
It is not the method from the author, but you can try following the instructions here (https://azure.microsoft.com/en-us/blog/custom-vision-service-introduces-classifier-export-starting-with-coreml-for-ios-11/) to use the Microsoft Custom Vision Service to export the model after training on images into the proper format expected by CoreML |
@jagatfx Do you know how to download the model from azure's custom vision service? I don't see the option anywhere... |
@jagatfx check out the documentation here: https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/export-your-model |
@twhitt14 @katunch after you click the Train button there is an export tab that says "Choose your platform" and lists iOS 11 (CoreML) as the only export option. Click that one. Click the Export button. Click the Download button. This downloads a .mlmodel file. Rename the file faces_model.mlmodel. Drop the faces_model.mlmodel file into your XCode Project. Now it will run and use your mlmodel. There are better ways to get a good mlmodel for faces, but at least this is a quick and free way to get something the is able to experiment with the app. |
@jagatfx can you provide more information about how many photos are needed on average and what the confidence level should be? Tested it with ~10 photos of a pen and mouse and nothing happened. |
@MHX792 From the Microsoft docs they recommend 30 photos per tag. For more information on improving the classifier you can see this article.
Here is a great article from Microsoft on training the Custom Vision Service classifier. If you just want to recognize various objects without worrying about the training process or model creation you can use the ResNet50 mlmodel listed in the apple docs. As a last note for others, the Microsoft Custom Vision Service is not meant to be used to classify human faces. So if you want to train a model that can perform well at recognizing faces I would use a different approach. I just referenced as a way to quickly make your own classifier model that can work with this demo app. |
The blog-post is finally here: Sorry for the delay ;-) |
thanks for the blog post, if everyone is cool I would like to close this thread. |
No description provided.
The text was updated successfully, but these errors were encountered: