## Error in export_savedmodel.keras.engine.training.Model(model, "savedmodel") :
## 'export_savedmodel()' is currently unsupported under the TensorFlow Keras implementation, consider using 'tfestimators::keras_model_to_estimator()'.
So I tried using tfestimators::keras_model_to_estimator, however, I am still having issues:
## Error in export_savedmodel.tf_estimator(tfe_model, "savedmodel") :
## Currently only classifier and regressor are supported. Please specify a custom serving_input_receiver_fn.
I am not being able to reproduce the example given in TensorFlow Model Deployment from R End-to-End section.
I am willing to export and then serve a keras model, however, when I have my model ready (after predicting) I get:
So I tried using
tfestimators::keras_model_to_estimator
, however, I am still having issues:Is there anything I am missing? My sessionInfo()
thanks! Juan Cruz