在谷歌云的dl vm服务被破坏后,模板与Python3警告不兼容



我使用此处的说明创建了一个新的深度学习 VM,但在部署完成后,我遇到了两个警告。任何人都可以帮助我解决这两个警告吗?

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'.

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'.

如果您阅读警告,似乎问题在于您使用的 Google Cloud DL VM 模板与 Python 3 不兼容,Python 3 现在是已部署虚拟机的默认模板。假设您并不严格需要 Pytorch 1.0(不是当前版本(,而不是遵循 CS 231n 说明,我建议您按照 Google 官方文档中的说明重试(显然用您想要的设置替换他们推荐的设置,例如 1 GPU 而不是 0(。

相关内容

  • 没有找到相关文章

最新更新