I have created .pb file from keras .h5 file. when I am using this in readNetFromTensorflow, it gives the following error:
error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:1383: error: (-215:Assertion failed) scaleMat.type() == CV_32FC1 in function 'cv::dnn::dnn4_v20190122::`anonymous-namespace'::TFImporter::populateNet'
Anyone help me please. Thanks