【发布时间】:2020-11-30 01:43:50
【问题描述】:
predict_custom_model_sample(
"projects/794xxx496/locations/us-central1/xxxx/3452xxx524447744",
{ "instance_key_1": "value", ... },
{ "parameter_key_1": "value", ... }
)
Google 给出了这个例子,我不理解 parameter_key 和 instance_key。据我了解,我需要发送 JSON 实例。
{"instances": [ {"when": {"price": "1212"}}]}
如何使其与 predict_custom_model_sample 一起使用?
【问题讨论】:
标签: google-cloud-ml google-prediction