Signature-Verification_System_using_YOLOv5-and-CycleGAN icon indicating copy to clipboard operation
Signature-Verification_System_using_YOLOv5-and-CycleGAN copied to clipboard

Unsuccessful TensorSliceReader constructor: Failed to find any matching files for

Open mazzasaverio opened this issue 3 years ago • 1 comments

Ii is not possible lead saved_model.pb because it is trained with TPU and I think it is necessary to set experimental_io_device, otherwise error occur trying to find temporary folder where to find variables

model_dir = "./model"

localhost_save_option = tf.saved_model.SaveOptions(experimental_io_device="/job:localhost") model.save(model_dir, options=localhost_save_option)

Restore the weights model2 = tf.keras.models.load_model(model_dir, options=localhost_save_option)

mazzasaverio avatar Feb 19 '22 17:02 mazzasaverio

is there any update on this?

rubensanchezrivero avatar Jun 17 '22 00:06 rubensanchezrivero