You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I converted completely keras model (full yolo v2) into tensorflow model, then i loaded them by tensorflow and carried out exactly however i can not load them by cv2.dnn.readNetFromTensorflow().
I got a problem while loading tensorflow model by using dnn.
Code bellow:
import cv2
net = cv2.dnn.readNetFromTensorflow('model.pb', './model.pbtxt')
error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/tensorflow/tf_importer.cpp:663: error: (-215:Assertion failed) const_layers.insert(std::make_pair(name, li)).second in function 'addConstNodes'
Did anyone get the same issue and seek out solutions? Thanks a lot.
The text was updated successfully, but these errors were encountered:
I converted completely keras model (full yolo v2) into tensorflow model, then i loaded them by tensorflow and carried out exactly however i can not load them by cv2.dnn.readNetFromTensorflow().
I got a problem while loading tensorflow model by using dnn.
Code bellow:
import cv2
net = cv2.dnn.readNetFromTensorflow('model.pb', './model.pbtxt')
error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/tensorflow/tf_importer.cpp:663: error: (-215:Assertion failed) const_layers.insert(std::make_pair(name, li)).second in function 'addConstNodes'
Did anyone get the same issue and seek out solutions? Thanks a lot.
The text was updated successfully, but these errors were encountered: