mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-24 11:33:26 +08:00
Fixed bugs after dnn refactoring. Added new tests for layers (#1142)
* Fixed bugs after dnn refactoring. Added new tests for layers * Fixed torch tests
This commit is contained in:
committed by
Maksim Shabunin
parent
c42beb4c34
commit
3b01eaa3d8
@@ -72,7 +72,7 @@ static void launchGoogleNetTest()
|
||||
inpMats.push_back( imread(_tf("googlenet_1.jpg")) );
|
||||
ASSERT_TRUE(!inpMats[0].empty() && !inpMats[1].empty());
|
||||
|
||||
net.setBlob(".data", blobFromImages(inpMats, 1.));
|
||||
net.setBlob(".data", blobFromImages(inpMats, 1., false));
|
||||
net.forward();
|
||||
|
||||
Mat out = net.getBlob("prob");
|
||||
|
||||
Reference in New Issue
Block a user