Unknown layer type FusedBatchNormV3 in op model/bn_Conv1/FusedBatchNormV3

I am trying to read a tensorflow model using readNetFromTensorflow()

I want to use specific version of opencv: 3.4.1

I have pretrained and fine tuned MobileNetV2 model.

I get below Error:

Error: Unspecified error (Unknown layer type FusedBatchNormV3 in op model/bn_Conv1/FusedBatchNormV3) in cv::dnn::experimental_dnn_v4::`anonymous-namespace’::TFImporter::populateNet

I have tested it with opencv v4.7.0 and it works fine, but there is a problem with opencv v3.4.1

Can somebody help me with this? Thanks.

you cannot turn the clock back.
tell us, why you want to use such an outdated version, maybe we can find a better workaround than that.

I am working on an application that uses this older version of OpenCV, migrating the whole application to the latest version of opencv would take a significant amount of time and effort.

I have trained a model in python tensorflow 2.5.0.
(from your prev. post)

that did not exist 5 years ago.
you probably have to use tf code from that time, too ;(

true, lazybones :wink:
however, we can probably help much better, getting that done, instead of trying to maintain your ‘technical debt’

I fixed the issue by installing OpenCV 3.4.15 version. It did not require any code changes to the existing application.

Anyways thanks for your help. :slight_smile: