Ask Your Question

Prototxt and caffemodel files for faster_rcnn.cpp example

asked 2018-01-09 08:01:28 -0500

isra60 gravatar image

I dont' find the correct files to make works this sample (new in 3.4).

edit retag flag offensive close merge delete


@dkurt Using and opencv_extra\testdata\dnn\faster_rcnn_vgg16.prototxt gives me error :

[ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Backtrace (Can't infer a dim denoted by -1) in cv::dnn::computeShapeByReshapeMask, file G:\Lib\opencv\modules\dnn\src\layers\reshape_layer.cpp, line 135
LBerger gravatar imageLBerger ( 2018-01-09 08:45:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-09 09:56:07 -0500

dkurt gravatar image

updated 2018-01-09 09:58:10 -0500

@LBerger, OpenCV's sample for models trained on pascal_voc dataset, So it can have another number of classes. You may modify prototxt file the same way.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-09 08:01:28 -0500

Seen: 252 times

Last updated: Jan 09 '18