Fix bug when loading saved KerasModel, and modify TF Hub tutorial to use non-experimental SavedModel API.
PiperOrigin-RevId: 274867727 Change-Id: I40f9f97f9613b404c76cf3c7b12615cb4d018737
This commit is contained in:
parent
77b77e1108
commit
430bc57511
@ -40,7 +40,7 @@ flags.DEFINE_string(
|
||||
'tflite_output_file', None,
|
||||
'The filename of the .tflite model file to write (optional).')
|
||||
flags.DEFINE_bool(
|
||||
'reload_as_keras_model', False, # TODO(b/140199731): enable by default.
|
||||
'reload_as_keras_model', True,
|
||||
'Also test tf.keras.models.load_model() on --saved_model_dir.')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user