Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6403 Discussions

Custom Resnet-50 is not converted to movidius model properly

idata
Employee
759 Views

I tried to transfer my custom resnet-50 ( https://github.com/cvjena/cnn-models) to movidius graph but I failed.

 

I got some message when I transfer caffe model to movidius model and I got nan value when I tried to inference my model using NCSDK and converted graph file.

 

root@hyunwoo-desk:/ncappzoo/apps/book# mvNCCompile -s 12 resnet50_deploy.prototxt -w resnet50_custom_transfer_v2_iter_180000.caffemodel -o 0629_model.graph

 

mvNCCompile v02.00, Copyright @ Intel Corporation 2017

 

/usr/local/bin/ncsdk/Controllers/FileIO.py:65: UserWarning: You are using a large type. Consider reducing your data sizes for best performance

 

Blob generated

 

root@hyunwoo-desk:/ncappzoo/apps/book# ./run_flowai.sh

 

[ nan nan nan nan nan]

 

[ nan nan nan nan nan]

 

[ nan nan nan nan nan]

 

[ nan nan nan nan nan]

 

[ nan nan nan nan nan]

 

[ nan nan nan nan nan]
0 Kudos
5 Replies
idata
Employee
504 Views

@hyunwoolee I am getting a hang when converting this model using the mvNCCompile tool. Still investigating the issue. Thank you for your patience.

0 Kudos
idata
Employee
504 Views

@Tome_at_Intel Hi. any update on this thread?

0 Kudos
idata
Employee
504 Views

@namsulee It looks like the device is being lost, but I'm still not quite sure why this is happening.

 

Just to make sure I am using the right weights, are you using the weights from the link https://github.com/cvjena/cnn-models/blob/master/ResNet_preact/ResNet50_cvgj/model_download_link.txt?

0 Kudos
idata
Employee
504 Views

@Tome_at_Intel yes, I am using that , I did transfer learning based on that model.

0 Kudos
idata
Employee
504 Views

@hyunwoolee Please try using your model with NCSDK v 2.08 and let me know if your issue has been resolved. https://github.com/movidius/ncsdk/tree/ncsdk2

0 Kudos
Reply