tensorflow-ssd

OpenCV dnn exception SSD Mobilenetv2

╄→尐↘猪︶ㄣ 提交于 2021-01-28 19:05:54
问题 Using transfer learning, I trained SSD MobileNetV2 (ssd_mobilenet_v2_coco.config) model in TensorFlow (tensorflow-gpu==1.15.0). After freezing the graph (.pb) using TensorFlow API Python script (export_inference_graph.py), I created a text graph (.pbtxt) using the Python script provided in OpenCV wiki (tf_text_graph_ssd.py). I used the Python code snippet from the wiki to test inference, but I am getting the following error: cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules