I have ran the code freeze_graph.py and optimize_for_inference.py,and there is a final_network.pb generated, when I imported the final_network.pb in DNN with opencv,there is something wrong like this: batch/fifo_queue:FIFOQueueV2 capacity:[ ] component_types:[ ] _output_shapes:[ ] container:[ ] shapes:[ ] shared_name:[ ] OpenCV Error: Unspecified error (Unknown layer type FIFOQueueV2 in op batch/fifo_queue) in populateNet, file /home/mi/opencv-3.4.0/modules/dnn/src/tensorflow/tf_importer.cpp, line 1487 terminate called after throwing an instance of 'cv::Exception' what(): /home/mi/opencv-3.4.0/modules/dnn/src/tensorflow/tf_importer.cpp:1487: error: (-2) Unknown layer type FIFOQueueV2 in op batch/fifo_queue in function populateNet
and I checked the model: FIFOQueueV2 Const QueueDequeueManyV2 Const Const Pad Conv2D Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Mul Abs Const Mul Add Const Const Pad Conv2D Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Const Const Const RandomUniform Sub Mul Add Add Floor RealDiv Mul Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Const Const Const RandomUniform Sub Mul Add Add Floor RealDiv Mul Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const Const Const Const RandomUniform Sub Mul Add Add Floor RealDiv Mul Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const ConcatV2 Relu Const Const Conv2DBackpropInput Const Const Const Mean StopGradient Const Sub SquaredDifference Const Sum Const Sum Const Reshape Reciprocal Mul Add Mul Square Sub Const Add Rsqrt Mul Mul Mul Sub Add Const ConcatV2 Relu Const Const Conv2DBackpropInput
I do not know how to solve it, I have uploaded the model on goolge cloud: https://drive.google.com/open?id=1o_icOyovByN8GcLEFuz_ZVl2sVSrlaMG could you tell me ? thank you.