caicloud / tensorflow-tutorial

Example TensorFlow codes and Caicloud TensorFlow as a Service dev environment.
2.93k stars 2.08k forks source link

TaaS 模型训练的运行参数通过环境变量的传递。 #17

Closed lienhua34 closed 7 years ago

lienhua34 commented 7 years ago

TaaS 平台模型训练的 Base 框架调整后,用户的代码文件作为主入口文件。如果用户使用了 argparse 来 解析命令参数的话,将会出现无法处理 TaaS 运行参数,于是将 TaaS 运行参数通过环境变量的方式提供。

Base 框架 Image 调整 https://github.com/caicloud/clever-admin/pull/350

lienhua34 commented 7 years ago

@perhapszzy PTAL