Ask Your Question
0

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

Comments

@dkurt Using https://dl.dropboxusercontent.com/s/c... 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
1

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, https://github.com/rbgirshick/py-fast.... 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

Stats

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

Seen: 295 times

Last updated: Jan 09 '18