|
|
@ -86,6 +86,8 @@ TEST_P(dump, Regression) |
|
|
|
Net net = readNet(findDataFile("dnn/squeezenet_v1.1.prototxt"), |
|
|
|
Net net = readNet(findDataFile("dnn/squeezenet_v1.1.prototxt"), |
|
|
|
findDataFile("dnn/squeezenet_v1.1.caffemodel", false)); |
|
|
|
findDataFile("dnn/squeezenet_v1.1.caffemodel", false)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ASSERT_EQ(net.getLayerInputs(net.getLayerId("fire2/concat")).size(), 2); |
|
|
|
|
|
|
|
|
|
|
|
int size[] = {1, 3, 227, 227}; |
|
|
|
int size[] = {1, 3, 227, 227}; |
|
|
|
Mat input = cv::Mat::ones(4, size, CV_32F); |
|
|
|
Mat input = cv::Mat::ones(4, size, CV_32F); |
|
|
|
net.setInput(input); |
|
|
|
net.setInput(input); |
|
|
|