以编程方式从云 ml-engine 读取训练输出
programmatically read training output from cloud ml-engine
我 运行 与 hyperparameter tuning
在 Cloud ML Engine
上工作。
在 Job details
页面上,我可以在 Training output
部分以 JSON
格式看到每个试验的 trials
和 finalMetric
。
我想知道我是否可以 download/read python 中的 Training output
。
您需要使用 python api 客户端调用 API。
这里有一个例子:https://cloud.google.com/ml-engine/docs/python-guide#putting_it_all_together
您需要使用 ml.projects().jobs().get() 方法。
我 运行 与 hyperparameter tuning
在 Cloud ML Engine
上工作。
在 Job details
页面上,我可以在 Training output
部分以 JSON
格式看到每个试验的 trials
和 finalMetric
。
我想知道我是否可以 download/read python 中的 Training output
。
您需要使用 python api 客户端调用 API。
这里有一个例子:https://cloud.google.com/ml-engine/docs/python-guide#putting_it_all_together
您需要使用 ml.projects().jobs().get() 方法。