首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >部署google cloud的dl vm服务后,模板与Python3警告不兼容

部署google cloud的dl vm服务后,模板与Python3警告不兼容
EN

Stack Overflow用户
提问于 2019-12-21 14:53:29
回答 1查看 585关注 0票数 4

我使用here的指令创建了一个新的深度学习虚拟机,但在部署完成后,我遇到了两个警告。有人能帮我解决这两个警告吗?

代码语言:javascript
复制
The template is incompatible with Python3. Please fix the following errors: Exception in 
software_status.py Traceback (most recent call last): return constructor[m](evaluation_context) File 
"software_status.py", line 188, in GenerateConfig File "software_status.py", line 161, in _Waiter 
File "software_status.py", line 131, in _WaiterDependsOn AttributeError: module 'types' has no 
attribute 'StringTypes' Resource: software_status.py Resource: config 
https://cloud.google.com/deployment-manager/docs/migrate-to-python3
The resource 'projects/click-to-deploy-images/global/images/pytorch-1-3-cu100-20191112' is 
deprecated. A suggested replacement is 'projects/click-to-deploy-images/global/images/pytorch-1-3- 
cu100-20191213'.

代码语言:javascript
复制
zkz-am has resource level warnings
zkz-am-vm: The resource 'projects/click-to-deploy-images/global/images/pytorch-1-3-cu100-20191112' 
is deprecated. A suggested replacement is 'projects/click-to-deploy-images/global/images/pytorch-1- 
3-cu100-20191213'.
EN

回答 1

Stack Overflow用户

发布于 2020-02-07 21:19:17

如果你阅读了警告,问题似乎是你正在使用的Google Cloud DL VM模板与Python3不兼容,Python3现在是default for deployed VMs。而不是遵循CS 231n说明,假设您不严格需要Pytorch1.0(不是当前版本),我建议使用Google's official docs的说明再试一次(显然用您想要的设置替换他们推荐的设置,例如1GPU而不是0)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59434134

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档