摘要: from tensorflow.python.platform import flags f = flags.FLAGS and then run your custom main function with a set of arguments. 阅读全文
posted @ 2018-06-13 04:40 qingliu411 阅读(217) 评论(0) 推荐(0) 编辑
摘要: virtualenv 用于创建一个隔离的 Python 环境。 每个项目都有自己的依赖包,这些依赖包有时存在版本冲突,处理这种情况最好方法就是为每个项目创建一个专属的环境。 例如: 创建一个基于python3的虚拟环境env virtualenv -p python3 env 启动某个虚拟环境env 阅读全文
posted @ 2018-06-13 02:44 qingliu411 阅读(210) 评论(0) 推荐(0) 编辑