Open Jagan3534 opened 2 years ago
I have the same problem. You can change your pytorch version to 1.10, and try again. It seems your version is higher, so it has Identity node in onnx.
I tried, i got the same error in the pytorch 1.10 thank you for reply
I have the same problem and i solved. I changed the PyTorch version from 1.12.0
to 1.11.0
and onnx to 1.11.0
and again exported from .pt
to .onnx
.
model = cv.dnn.readNetFromONNX("/content/yolov7/runs/train/exp/weights/best.onnx")
i need to work in opencv could anyone give any referance for this i developed android app using yolov3 it generated.weights
file but at present i need to update could anyone help to slove this