caffemodel missing in dnn performance test [closed]
I am using dnn module in opencv. I want to do a performance test. After building, I have opencv_perf_dnn.exe in my bin folder. When I ran it with --gtest_filter=DNNTestNetwork.MobileNet_SSD_Caffe, it returned immediately with 0 tests. I searched my install folder and build folder. There is no MobileNetSSD_deploy.caffemodel file, actually no caffemodel file at all.
So the question is do I need to obtain those caffemodels used in dnn perf test by myself, or there is some special flags I need to check in CMake to have caffemodels installed? Thanks.
I am working on Windows 7, Visual studio 2015. I am using opencv's master branch from github.
Okay, I have the caffemodel files now. Somehow all tests in DNNTestNetwork testcase are skipped when I run opencv_perf_dnn.exe:
[ RUN ] DNNTestNetwork.AlexNet/0, where GetParam() = OCV/CPU
Test was skipped
[ OK ] DNNTestNetwork.AlexNet/0 (1 ms)
Any idea what's going?
https://github.com/opencv/opencv_extr...
Thanks. I have the caffemodel files now. Somehow all tests in DNNTestNetwork testcase are skipped when I run opencv_perf_dnn.exe: [ RUN ] DNNTestNetwork.AlexNet/0, where GetParam() = OCV/CPU Test was skipped [ OK ] DNNTestNetwork.AlexNet/0 (1 ms) Any idea what's going?
@yancey, you need to specify path to /opencv_extra/testdata by
OPENCV_TEST_DATA_PATH
environment variable.@dkurt, thanks, it works now.