I'm working on Google cloud ML, and I want to get prediction on jpeg image. To do this, I would like to use:
gcloud beta ml predict --instances=INSTANCES --model=MODEL [--version=VERSION]
(https://cloud.google.com/ml/reference/commandline/predict)
Instances is the path to a json file with all info about image.
How can I create the json file from my jpeg image?
Many thanks!!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…