Closed ooksang closed 3 years ago
@ooksang This is a stale issue. Sorry for late response.
Is this still an issue for you? Can you please share a simple standalone code to reproduce the issue? Also, check your code with the recent TF versions (2.6
and tf-nightly
) and let us know whether the issue persists with recent TF versions. Thanks!
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.
I'm trying to h5 to pb to use tflite. But I got error. Original code is from https://github.com/xuannianz/keras-GaussianYOLOv3
Below is my code
from tensorflow import keras
model_path = "../checkpoints/pascal_21_9.4463_12.8289_0.8334_0.8535.h5"
model = keras.models.load_model(model_path, compile=False)
model.save("../checkpoints/", save_format="tf")
Error messages It can not load custom defined module when load model.
NameError Traceback (most recent call last)