I am trying to run an ML prediction request on a JSON file records.json
.
!gcloud ai-platform predict --model housing_prices --json-instances records.json
I am getting the following error.
Using endpoint [https://ml.googleapis.com/]
ERROR: gcloud crashed (AttributeError): 'NoneType' object has no attribute 'framework'
All libraries are imported.
import pandas as pd
import tensorflow as tf
I am following a qwiklabs lab 'Predict Housing Prices with Tensorflow and AI Platform'. All commands are in Jupyter notebook on GCP using tensorflow
framework. I am missing something. Any help is appreciated.