Google Machine Learning Engine Python 3

问题描述 投票:5回答:2

Google机器学习引擎的最新运行时版本1.4支持Python 3.5:

https://cloud.google.com/ml-engine/docs/runtime-version-list

如何在ML引擎中使用Python 3.5训练模型?

谢谢

google-cloud-ml
2个回答
2
投票

python_version对我有用。请注意python_version是一个字符串。它也只适用于1.4运行时版本。

trainingInput:pythonVersion:'3.5'scaleTier:BASIC


0
投票

您可以在TrainingInput中将字段pythonVersion设置为3.5。如果你使用gCloud,你可以在yaml file中传递这个标志并指定标志--config = config.yaml,假设config.yaml是你的yaml文件名。

© www.soinside.com 2019 - 2024. All rights reserved.