私は機械学習に取り組んでおり、Google Cloud ml サービスを使用したいと考えています。
この時点で、Tensorflow の retrain.py コード ( https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/image_retraining/retrain.py#L103 ) を使用してモデルをトレーニングし、エクスポートしました結果を cloudml に出力します (export および export.meta ファイル)。ただし、コマンド ( https://cloud.google.com/ml/reference/commandline/predict )を使用して新しいデータを予測しようとすると:
gcloud beta ml predict
常に同じ結果を返します (異なるデータを予測したい)。それはどのように可能ですか?
私のデータは、jpeg からテキスト形式でデコードされた画像です。
echo "{\"image_bytes\": {\"b64\": \"`base64 image.jpg`\"}}" > instances
何か提案はありますか?