Open teakfi opened 3 years ago
Error is fixed with using this:
yolo_model = load_model("models/yolo/yolov4.h5", custom_objects ={"Mish":Mish})
System: Windows 10 TensorFlow version: 2.4.1 Eager execution: True Keras version: 2.4.0
ps. I had to add tensorflow. in front of all keras imports and cuda version didn't work either
Error is fixed with using this:
yolo_model = load_model("models/yolo/yolov4.h5", custom_objects ={"Mish":Mish})
System: Windows 10 TensorFlow version: 2.4.1 Eager execution: True Keras version: 2.4.0
ps. I had to add tensorflow. in front of all keras imports and cuda version didn't work either