librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

dnn opencv problem:Assertion failed (blobs.size() != 0) in getMemoryShapes, file opencv_path/modules/dnn/src/layers/convolution_layer.cpp, line 193 opencv_path/modules/dnn/src/layers/convolution_layer.cpp:193: error: (-215) blobs.size() != 0 in function getMemoryShapes

Open k-lam opened this issue 8 years ago • 5 comments

Assertion failed (blobs.size() != 0) in getMemoryShapes, file opencv_path/modules/dnn/src/layers/convolution_layer.cpp, line 193 opencv_path/modules/dnn/src/layers/convolution_layer.cpp:193: error: (-215) blobs.size() != 0 in function getMemoryShapes I use D435

k-lam avatar Apr 25 '18 08:04 k-lam

[Realsense Customer Engineering Team Comment] @k-lam Can you give me more information when do you get this error message? can you give me your code snippet?

[Realsense Customer Engineering Team Comment] @k-lam I think I know where your problem is, please check the two files "MobileNetSSD_deploy.prototxt" and "MobileNetSSD_deploy.caffemodel" under your solution folder if the size of the files aren't zero, it might happen if your download is blocked by firewall. If they are zero, please go to "https://github.com/chuanqi305/MobileNet-SSD" github repository to download the two files with the same name and replace them.

Attached where to check those two files image. capture

carypai avatar May 18 '18 01:05 carypai

oh,I forgot to close this issue. yes, the script download the model failed failed... I have read the cmake file and download that file through shadowsocks.

k-lam avatar May 18 '18 03:05 k-lam

No my files are properly downloaded and they have proper size My problem is not solved

shiva2410 avatar Aug 13 '19 03:08 shiva2410