IntelligentEdgeHOL icon indicating copy to clipboard operation
IntelligentEdgeHOL copied to clipboard

Running a custom trained Yolov3-tiny model

Open Denizzje opened this issue 5 years ago • 1 comments

Hello there,

Thank you for this tutorial, it was really well written and I had this up and running in no time. I have a custom made and functional Yolov3-tiny model which I want to try with this application. I however cannot seem to get this working.

I pointed the inference.py file to the new files, however when restarting the app it ignored it and just ran the included model. I then tried to rename my own files into the ones that came included, but it seems to be getting its files from somewhere else and not use the ones in the folder at all?

I am very new to docker, iotedge and basically everything in this tutorial so its probably simply me not understanding how the backend of this all works, can I get some pointers on how to make my own model work?

Thank you!

Denizzje avatar Mar 10 '20 14:03 Denizzje

Hi,

I've been looking at the same. Steps appear to be:

  1. Put your .cfg and .weights in the modules/YoloModule/app/yolo folder.
  2. Update the YoloInference.py to point to the right .cfg and .weights files.
  3. Rebuild with docker, the IoT Edge YoloModule - very nice way in VSCode using docker and the IoT Extension.
  4. Push the image to a container registry like dockerhub or Azure Container Registry.
  5. Update deployment.template.json and .env for the right custom Yolo image
  6. Create the manifest and deploy to the Edge device.

michhar avatar Jun 12 '20 00:06 michhar