problem while using opencv dnn with openface torch model

asked 2017-08-28 03:35:59 -0600

TZVIH gravatar image

Hi, I try to work with the dnn of opencv. I have a t7 model from openface. I passed it like that: "dnn::Net net = dnn::readNetFromTorch(modelFile);" I got error: "OpenCV Error: The function/feature is not implemented (Unknown nn class "nn.SpatialConvolutionMM") in readTorchObject, file opencv-3.3.0/modules/dnn/src/torch/torch_importer.cpp, line 765"

someone know what is my mistake? Thanks!

edit retag flag offensive close merge delete


@TZVIH, you did everything right. We have to implement missed layers. Thank you for the reference to the model!

dkurt gravatar imagedkurt ( 2017-08-28 11:50:40 -0600 )edit