简体   繁体   English

以编程方式读取来自Cloud ml-engine的训练输出

[英]programmatically read training output from cloud ml-engine

I run a job on Cloud ML Engine with hyperparameter tuning . 我通过hyperparameter tuningCloud ML Engine上运行了一项工作。

On the Job details page I can see the trials and finalMetric of each trial in the Training output section in JSON format. 在“ Job details页面上,我可以在“ Training output部分以JSON格式查看每个试验的trialsfinalMetric

I wonder if I can download/read the Training output in python. 我想知道我是否可以下载/阅读python中的Training output

You'll need to call the API using the python api client. 您需要使用python api客户端调用API。

There is an example of that here: https://cloud.google.com/ml-engine/docs/python-guide#putting_it_all_together 这里有一个例子: https : //cloud.google.com/ml-engine/docs/python-guide#putting_it_all_together

You'll need to use the ml.projects().jobs().get() method. 您将需要使用ml.projects()。jobs()。get()方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM