Ask Your Question

Revision history [back]

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what(): OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'

The layer in the .prototxt file looks like this:

layer { name: "DummyData1" type: "DummyData" top: "DummyData1" dummy_data_param { shape { dim: 1 dim: 32 dim: 125 dim: 100 } } }

It appears that the layer is missing in OpenCV. The caffe layer is described here here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been inplemented somewhere? How can I solve this problem?

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what(): OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'

The layer in the .prototxt file looks like this:

layer { name: "DummyData1" type: "DummyData" top: "DummyData1" dummy_data_param { shape { dim: 1 dim: 32 dim: 125 dim: 100 } } }

It appears that the layer is missing in OpenCV. The caffe layer is described here here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been inplemented somewhere? How can I solve this problem?

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what(): OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'

The layer in the .prototxt file looks like this:

layer { name: "DummyData1" type: "DummyData" top: "DummyData1" dummy_data_param { shape { dim: 1 dim: 32 dim: 125 dim: 100 } } }

It appears that the layer is missing in OpenCV. The caffe layer is described here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been inplemented implemented somewhere? How can I solve this problem?

click to hide/show revision 4
None

updated 2018-09-14 11:11:25 -0500

berak gravatar image

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what():  OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'

'getLayerInstance'*

The layer in the .prototxt file looks like this:

layer {
  name: "DummyData1"
  type: "DummyData"
  top: "DummyData1"
  dummy_data_param {
    shape {
      dim: 1
      dim: 32
      dim: 125
      dim: 100
    }
  }
}

}

It appears that the layer is missing in OpenCV. The caffe layer is described here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been implemented somewhere? How can I solve this problem?

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what():  OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'*

It crashes in the line

cv::dnn::Net network = cv::dnn::readNetFromCaffe(modelTxt, modelBin);

The layer in the .prototxt file looks like this:

layer {
  name: "DummyData1"
  type: "DummyData"
  top: "DummyData1"
  dummy_data_param {
    shape {
      dim: 1
      dim: 32
      dim: 125
      dim: 100
    }
  }
}

It appears that the layer is missing in OpenCV. The caffe layer is described here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been implemented somewhere? How can I solve this problem?

Can't load caffe model with DummyData layer

Hi,

when I try to load a caffe model with OpenCV 3.4.3, I get the error:

what():  OpenCV(3.4.3) /home/schneider/libs/opencv-3.4.3/modules/dnn/src/dnn.cpp:412: error: (-2:Unspecified error) Can't create layer "DummyData1" of type "DummyData" in function 'getLayerInstance'*

It crashes in the line

cv::dnn::Net network = cv::dnn::readNetFromCaffe(modelTxt, modelBin);

The layer in the .prototxt file looks like this:

layer {
  name: "DummyData1"
  type: "DummyData"
  top: "DummyData1"
  dummy_data_param {
    shape {
      dim: 1
      dim: 32
      dim: 125
      dim: 100
    }
  }
}

It appears that the layer is missing in OpenCV. The caffe layer is described here on the Caffe webpage, but I am not sure how to implement this layer in OpenCV. Has it already been implemented somewhere? How can I solve this problem?

EDIT:

Here is the link to the full .prototxt