Had some issues with creating the model from flighs_model_tf2.ipynb. It seems related to Tensorflow/Keras version. I created a new notebook that ran Tensorflow 2.3 and updated --runtime-version flag to used 2.3. I can get the prections for the example json if I run:
Had some issues with creating the model from flighs_model_tf2.ipynb. It seems related to Tensorflow/Keras version. I created a new notebook that ran Tensorflow 2.3 and updated --runtime-version flag to used 2.3. I can get the prections for the example json if I run:
gcloud ai-platform predict --model=flights --region=$REGION --version=tf2 --json-instances=example_input.json
on the command line. I can also get the predictions if I used the Test & Use Tab for the version of the Model.
However, in the notebook, no display is shown.