OpenCV => opencv_python-22.214.171.124 (inside a venv installed via pip) and also a version built from master (commit hash 0979940)
Operating System / Platform => Ubuntu 20.04 (amd64)
Compiler => ❔ N/A
The converted bodypix (mobilenet v2?) dnn model from tfjs loaded into opencv in python using cvNet = cv2.dnn.readNetFromTensorflow fails when calling cvNet.forward() with the following error:
Traceback (most recent call last):
File "test-bodypix.py", line 7, in <module>
results = cvNet.forward()
cv2.error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/dnn.cpp:562: error: (-2:Unspecified error) Can't create layer "clip_by_value/Minimum" of type "Minimum" in function 'getLayerInstance'
Download URLs for original unconverted bodypix model.json files (I've also attached the converted model.pb that I am using below):
I manage to draw the graph using tensor board. The Minimum / Maximum operation is actually at the very last operation for "float_parts_offsets" @dkurt has implemented some graph transformation for fusing this into Relu6 ?
I am not sure why it isn't for this case