1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #9524 from dkurt:dnn_torch_openface

This commit is contained in:
Vadim Pisarevsky
2017-09-15 12:38:11 +00:00
10 changed files with 328 additions and 34 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ public:
}
int ngroups = inpCn / blobs[0].size[1];
CV_Assert(inpCn % ngroups == 0 && outCn % ngroups == 0);
CV_Assert(ngroups > 0 && inpCn % ngroups == 0 && outCn % ngroups == 0);
int dims[] = {inputs[0][0], outCn, out.height, out.width};
outputs.resize(inputs.size(), shape(dims));