Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error running inference on Single Shot Scale-invariant Face Detector pre trained model

Hi,

I'm trying to use the pre trained models from Single Shot Scale-invariant Face Detector. I can load the network successfully but when I try to invoke net.forward the following exception is being raised:

3.3.1:

OpenCV Error: Bad argument (PriorBox layer parameter does not contain flip parameter.) in getParameter, file /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp, line 87
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp:87: error: (-5) PriorBox layer parameter does not contain flip parameter. in function getParameter

Aborted (core dumped)

3.4.0-rc:

[ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (!_aspectRatios.empty()) in PriorBoxLayerImpl, file /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp, line 206
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp:206: error: (-215) !_aspectRatios.empty() in function PriorBoxLayerImpl

Aborted (core dumped)

Any help is appreciated.

Error running inference on Single Shot Scale-invariant Face Detector pre trained model

Hi,

I'm trying to use the pre trained models from Single Shot Scale-invariant Face Detector. I can load the network successfully but when I try to invoke net.forward the following exception is being raised:

3.3.1:

OpenCV Error: Bad argument (PriorBox layer parameter does not contain flip parameter.) in getParameter, file /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp, line 87
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp:87: error: (-5) PriorBox layer parameter does not contain flip parameter. in function getParameter

Aborted (core dumped)

3.4.0-rc:

[ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (!_aspectRatios.empty()) in PriorBoxLayerImpl, file /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp, line 206
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp:206: error: (-215) !_aspectRatios.empty() in function PriorBoxLayerImpl

Aborted (core dumped)

Any help is appreciated.

Error running inference on Single Shot Scale-invariant Face Detector pre trained model

Hi,

I'm trying to use the pre trained models from Single Shot Scale-invariant Face Detector. I can load the network successfully but when I try to invoke net.forward the following exception is being raised:

3.3.1:

OpenCV Error: Bad argument (PriorBox layer parameter does not contain flip parameter.) in getParameter, file /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp, line 87
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp:87: error: (-5) PriorBox layer parameter does not contain flip parameter. in function getParameter

Aborted (core dumped)

3.4.0-rc:

[ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (!_aspectRatios.empty()) in PriorBoxLayerImpl, file /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp, line 206
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp:206: error: (-215) !_aspectRatios.empty() in function PriorBoxLayerImpl

Aborted (core dumped)

Any help is appreciated.

Error running inference on Single Shot Scale-invariant Face Detector pre trained model

Hi,

I'm trying to use the pre trained models from Single Shot Scale-invariant Face Detector. I can load the network successfully but when I try to invoke net.forward the following exception is being raised:

3.3.1:

OpenCV Error: Bad argument (PriorBox layer parameter does not contain flip parameter.) in getParameter, file /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp, line 87
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.3.1/modules/dnn/src/layers/prior_box_layer.cpp:87: error: (-5) PriorBox layer parameter does not contain flip parameter. in function getParameter

Aborted (core dumped)

3.4.0-rc:

[ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (!_aspectRatios.empty()) in PriorBoxLayerImpl, file /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp, line 206
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/opencv-3.4.0-rc/modules/dnn/src/layers/prior_box_layer.cpp:206: error: (-215) !_aspectRatios.empty() in function PriorBoxLayerImpl

Aborted (core dumped)

Any help is appreciated.