- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I successfully converted a TensorFlow Inception V1 network to IR (on ubuntu) and ran it with the classification_sample using both CPU (MKLDNN) and GPU (CLDNN) plugins, under Windows 10.
However, when I tried to run the segmentation sample with a fully connected net it crashes while trying to load the IR .xml file. I generated the IR files using:
ModelOptimizer -p FP32 -w fcn8s-heavy-pascal.caffemodel -d deploy.prototxt -i -b 1
I got the the caffemodel from here:
http://dl.caffe.berkeleyvision.org/fcn8s-heavy-pascal.caffemodel
and the deploy.prototxt from there:
https://github.com/shelhamer/fcn.berkeleyvision.org/tree/master/voc-fcn8s
ModelOptimizer generated default.xml and default.bin. The XML looks ok. Here is a link to it on my dropbox:
https://www.dropbox.com/s/yqq21mzaobt45kv/default.xml?dl=0
Running segmentation_sample on Windows 10 with:
segmentation_sample.exe -i image.bmp -m "default.xml" -d "CPU"
(or with -d "GPU")
causes the following crash when reading the network in main.cpp, Line 142 of the sample/segmentation_sample:
network.ReadNetwork(FLAGS_m);
throws an exception
Exception thrown at 0x00007FFD0B9B3FB8 in segmentation_sample.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000338EEFC9A0.
Exception thrown at 0x00007FFD0B9B3FB8 in segmentation_sample.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000338EEFC9A0.
Exception thrown at 0x00007FFD0B9B3FB8 in segmentation_sample.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000338EEFC9A0.
Debug Assertion Failed!
Program: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
File: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector
Line: 1234
Expression: vector subscript out of range
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Debug Assertion Failed!
Program: ...K\1.0\Inference Engine\bin\intel64\Debug\inference_engine.dll
File: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector
Line: 1235
Expression: "Standard C++ Libraries Out of Range" && 0
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Any suggestions appreciated.
Thanks,
Julien.
Link Copied
- 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
Hi Julien,
I generated the identical intermediate representation (.bin and .xml files) and successfully build and ran segmentation_sample on both Windows and Ubuntu. It's probably environmental issue. Which version of Computer Vision SDK do you use?
Could you please share binary of the segmentation_sample and input image with me?
Best wishes,
Anna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Anna:
I checked and I was using the 2017 R2 SDK. I updated to 2017 R3 SDK and it no longer crashes. Thanks for pointing me in the right direction.
Julien.

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