Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't create layer "conv1_relu/Minimum" of type "Minimum"

Hello All I am using opencv 4.0.0 on Windows 10 and Visual Studio 2017 I have manged to load a tensorflow MobileNet model after transforming the model but now I am getting this error when calling the forward function;

Can't create layer "conv1_relu/Minimum" of type "Minimum" in function 'cv::dnn::dnn4_v20180917::LayerData::getLayerInstance'

Any ideas please ?

Regards

click to hide/show revision 2
retagged

updated 2019-03-20 08:27:30 -0600

berak gravatar image

Can't create layer "conv1_relu/Minimum" of type "Minimum"

Hello All I am using opencv 4.0.0 on Windows 10 and Visual Studio 2017 I have manged to load a tensorflow MobileNet model after transforming the model but now I am getting this error when calling the forward function;

Can't create layer "conv1_relu/Minimum" of type "Minimum" in function 'cv::dnn::dnn4_v20180917::LayerData::getLayerInstance'

Any ideas please ?

Regards

Can't create layer "conv1_relu/Minimum" of type "Minimum"

Hello All I am using opencv 4.0.0 on Windows 10 and Visual Studio 2017 I have manged am trying to load use a pretrained tensorflow MobileNet model after transforming (MobileNet V2) using cv::dnn. It is a classification model, that has been fine tuned to classify the model but now I am getting this error when font of characters. it has been transformed using tensorflow transform_graph tool and is loading successfully using cv::dnn. However, calling the forward function;forward() is causing this error:

Can't create layer "conv1_relu/Minimum" of type "Minimum" in function 'cv::dnn::dnn4_v20180917::LayerData::getLayerInstance'

Any ideas please ?

RegardsP.S. I have uploaded the model pbtxt file, but you have to replace extension to .pbtxt (i had to make it as .png to be able to attach it)

Regards C:\fakepath\model.png

Can't create layer "conv1_relu/Minimum" of type "Minimum"

Hello All I am using opencv 4.0.0 on Windows 10 and Visual Studio 2017 I am trying to use a pretrained tensorflow model (MobileNet V2) using cv::dnn. It is a classification model, that has been fine tuned to classify the font of characters. it has been transformed using tensorflow transform_graph tool and is loading successfully using cv::dnn. However, calling the forward() is causing this error:

Can't create layer "conv1_relu/Minimum" of type "Minimum" in function 'cv::dnn::dnn4_v20180917::LayerData::getLayerInstance'

Any ideas please ?

P.S. I have uploaded the model pbtxt file, but you have to replace extension to .pbtxt (i had to make it as .png to be able to attach it)

Regards C:\fakepath\model.pngRegards

Can't create layer "conv1_relu/Minimum" of type "Minimum"

Hello All I am using opencv 4.0.0 on Windows 10 and Visual Studio 2017 I am trying to use a pretrained tensorflow model (MobileNet V2) using cv::dnn. It is a classification model, that has been fine tuned to classify the font of characters. it has been transformed using tensorflow transform_graph tool and is loading successfully using cv::dnn. However, calling the forward() is causing this error:

Can't create layer "conv1_relu/Minimum" of type "Minimum" in function 'cv::dnn::dnn4_v20180917::LayerData::getLayerInstance'

Any ideas please ?

The model is working just fine using tensorflow on python, so i think it is not an issue with the model it self P.S. I have uploaded the model pbtxt file, but you have to replace extension to .pbtxt (i had to make it as .png to be able to attach it)

Regards