- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to create an intermediate representation from Caffe with regionyolo_extension, i want to create it by model optimizer.. my question is, how to do conversion from Caffe to IR and include regionyolo_extension? i have my own prototxt and caffemodel (darkNet to Caffe conversion), but i hope i can inference yolo layer in my NCS, not my PC..
say, if the output layer name in my prototxt is "layer83-yolo", "layer95-yolo" and "layer107-yolo"
thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Candra,
Thanks for reaching out. You can check this documentation on How to Convert YOLOv3 Model to IR. Try it and tell us if you manage to convert it, in case you encounter some issues, please send us your files for us to try it.
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DavidC (Intel) wrote:Hi Candra,
Thanks for reaching out. You can check this documentation on How to Convert YOLOv3 Model to IR. Try it and tell us if you manage to convert it, in case you encounter some issues, please send us your files for us to try it.
Regards,
David
Thank you David, but in that post it shows conversion model from Tensorflow.. what i want to do is converting from Caffe to YOLO with model optimizer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Candra,
Thank you for your reply. Please take a look at this Converting a Caffe* Model documentation.
Let us know if you manage to get the IR files.
Best regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you may try command like this (it was tested to convert to IR yolo v3 model from caffe:
python mo.py --model_name yolo-v3 --output_dir <output dir> --framework=caffe --data_type=FP16 --reverse_input_channels '--input_shape=[1,3,416,416]' --input=data '--scale_values=data[255.0]' --output=layer83-yolo,layer95-yolo,layer107-yolo --input_model=<your_model.caffemodel> --input_proto=<your_model.prototxt> --caffe_parser_path=/opt/caffe/src/caffe/proto
Regards,
Vladimir

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page