- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sample program packaged in deep learning deployment toolkit has Yolo as an example. But it requires IR .xml file. Where to find a pre-trained xml file for the same? Or how to convert the weights and model file of darknet implementation of Yolo to IR .xml file required by this toolkit.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashim,
First of all you need to convert yolo model from darknet to Caffe format. For that purpose you can find several scripts like that at the Internet. Next you need to run Model Optimizer to create Intermediate Representation (.xml and .bin files) from .prototxt and .caffemodel files. Please take a look on the documentation and this video tutorial that explains how to generate an IR with Model Optimizer.
Best wishes,
Anna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anna B. (Intel) wrote:
Hi Ashim,
First of all you need to convert yolo model from darknet to Caffe format. For that purpose you can find several scripts like that at the Internet. Next you need to run Model Optimizer to create Intermediate Representation (.xml and .bin files) from .prototxt and .caffemodel files. Please take a look on the documentation and this video tutorial that explains how to generate an IR with Model Optimizer.
Best wishes,
Anna
Hi Anna,
I have been trying your proposed solutions, but when I tried to convert my caffe model to IR using Intel's Model Optimizer, I got the following error:
./ModelOptimizer -p FP32 -w $TINY_YOLO_DIR/tiny-yolo-voc.caffemodel -d $TINY_YOLO_DIR/tiny-yolo-voc.prototxt -i -b 1 Start working... Framework plugin: CAFFE Network type: CLASSIFICATION Batch size: 1 Precision: FP32 Layer fusion: false Horizontal layer fusion: NONE Output directory: Artifacts Custom kernels directory: Network input normalization: 1 [libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 412:18: Message type "caffe.LayerParameter" has no field named "region_param". F0207 14:03:09.373576 32167 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/nodeflux/sandbox-richad/tiny-yolo/tiny-yolo-voc.prototxt
My question is, is it because I used the wrong Network Type? What type of network should I use? My understanding is YOLO network is supposed to be using CLASSIFICATION and LOCALIZATION at the same time.
Thank you in advance, will really appreciate your prompt reply.
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page