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
importtensorflowastfimportnumpyasnp# Load the TFLite model and allocate tensors.interpreter=tf.lite.Interpreter(model_path="yolov4.tflite")
interpreter.allocate_tensors()
# Get input and output tensors.input_details=interpreter.get_input_details()
output_details=interpreter.get_output_details()
# Test the model on random input data.input_shape=input_details[0]['shape']
input_data=np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[0]['index'], input_data)
interpreter.invoke()
RuntimeError: Encountered unresolved custom op: CombinedNonMaxSuppression.Node number 603 (CombinedNonMaxSuppression) failed to prepare.
An issue is opened in Tensorflow repo to add CombinedNonMaxSuppression op to flex, which will hopefully resolve this : tensorflow/tensorflow#41012
The text was updated successfully, but these errors were encountered:
The following code results in an error:
An issue is opened in Tensorflow repo to add
CombinedNonMaxSuppression
op to flex, which will hopefully resolve this :tensorflow/tensorflow#41012
The text was updated successfully, but these errors were encountered: