Deploy pre-trained ML model on VisionAI Dev Kit

Deleted
Not applicable

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.io/Vision-AI-DevKit-Pages/docs/Deploy_Model_using_Module_Twin/ link,. I've uploaded model zip(with dlc,label and config.json) on my storage account and changed module's twin, updated "ModelZipUrl".

But, when seeing my device, it is running the same model I've deployed initially, no changes detected. What I'm doing wrong here?

6 Replies

@Deleted What firmware version are you running on the device?

Is the Twin Module Saved after updating the ModelZipURL?

@jkubicka  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

 

Scenario-2

  1. 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.
  2. As ModelZipUrl is present by default and it is blank(""), Added ModelZipUrl, saved and tested.
  3. Results: Device is running with the new model.


Now two things, I'm seeking answers for:

 

  1. Why the Scenario-1 is not working for me. (Scenario-1 is the reason I raised this issue and explained initially).
  2. 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!!!

@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.