Forum Discussion
Anonymous
Jul 02, 2019Deploy pre-trained ML model on VisionAI Dev Kit
I'm successfully running VisionAI dev kit camera with VisionSample module detecting approximately 183 objects. Now I want to deploy caffe squeezenet model, so I'm following this https://azure.github....
Anonymous
Jul 10, 2019jkubicka Hi,
I got it working, I mean, I'm able to deploy pre-trained ML model on my VisionAI development kit by uploading my model files on azure blob storage.
Please find below details:
Scenario-1
- Created IoTedge Device from azure portal manually and configured VisionAI camera with the connection string.
- Followed this link https://azure.github.io/Vision-AI-DevKit-Pages/docs/Deploy_Model_IoT_Hub/#add-modules to deploy default VisionSample model.
- As ModelZipUrl is not present by default, Added ModelZipUrl, saved and tested.
- Results: Device is not updating the model.
Scenario-2
- Followed this link https://azure.github.io/Vision-AI-DevKit-Pages/docs/Get_Started/ to create IoTEdge device, where the device is getting created automatically on the azure portal and device is running with AIVisionDevKitGetStartedModule as a default ML module.
- As ModelZipUrl is present by default and it is blank(""), Added ModelZipUrl, saved and tested.
- Results: Device is running with the new model.
Now two things, I'm seeking answers for:
- Why the Scenario-1 is not working for me. (Scenario-1 is the reason I raised this issue and explained initially).
- There are lots of different properties in module identity twin when VisionAI Kit itself is creating IoTEdge Device. So, how much impact we will have in case we create a device from the azure portal manually where we will not be having all such properties in module identity twin by default.
Thanks for reading!!!
jkubicka
Jul 10, 2019Former Employee
Deleted Scenario 1 is not ideal for user experience and is too manual which may leave room for error - for example; the device might be created as an IoT Device instead of an IoT Edge Device. Scenario 2 has the correct documentation to deploy a custom model with a quicker easier process.