error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/dnn.cpp:562: error: (-2:Unspecified error) Can't create layer "identity_83" of type "Identity" in function 'getLayerInstance'
I was going to implement ObjecktDetection with OpenCv in the Ros environment. Previously I was running my code in the Ros environment. When I do the same installs again and rerun the code due to kernel corruption I get this error :[[ERROR] [1616952251.395069, 180.648000]: bad callback: <function resim="" at="" 0x7ff2b5f9fdd0=""> Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "otonom_iki.py", line 29, in Resim image = objectDetect.objDetect(combo_image)
File "/home/burak/ackermann_vehicle/src/ackermann_vehicle_gazebo/scripts/objectDetect.py", line 29, in objDetect
outs = net.forward(outputlayers)
error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/dnn.cpp:562: error: (-2:Unspecified error) Can't create layer "identity_83" of type "Identity" in function 'getLayerInstance'
]
How can I resolve this error? Best regards