Ask Your Question

Revision history [back]

OpenCV DNN Throws Unsupported Layer Error

Hello all, I recently retrained a model and wanted to run it using OpenCV's DNN module. However, when I try to run the file, I keep getting this error.

Traceback (most recent call last): File "Stone.py", line 23, in <module> net = cv2.dnn.readNetFromTensorflow('/Users/Robot/Skystone-Vision/SkystoneVision/PB-File/model.pb') cv2.error: OpenCV(4.1.2-dev) /Users/Robot/opencv/modules/dnn/src/tensorflow/tf_graph_simplifier.cpp:90: error: (-212:Parsing error) Input node with name Squeeze not found in function 'getInputNodeId'

I do not know how to proceed next as I have no clue on how to fix this problem. Please help if you can. I will be attaching my checkpoint files below.

https://drive.google.com/drive/folders/1C4SGBkQqsen7PVh8IlcyTM9r1VrLa_dE?usp=sharing

Any help would be greatly appreciated. Thanks!