Hi,
I have been working on PYNQ-Z1, and I am facing an issue of “The kernel appears to have died. It will restart automatically.” when running the following code:
model = load_model(model_backup_path)
model.predict(test_image)
where model_backup_path indicates the name of my " .h5" file/model.
Note: I have installed Tensorflow, Keras, and imported the package of load_model. It is okay to run “from keras.models import load_model”, however when calling the functions (of load_model and model.predict) the kernel dies.
Have you guys met the same issue? I would appreciate if you can help.
Regards
Chao