jakeret/unet

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Closed this issue · 0 comments

after saving my model like this I can't reopen it
unet_model.save(r'C:\Users\ggrimard\Documents\Models/UnetTake2')

modelPath = r'C:\Users\ggrimard\Documents\Models/UnetTake2'
from unet import custom_objects
reconstructed_model = tf.keras.models.load_model(modelPath, custom_objects=custom_objects)