【问题标题】:After delployment of dl vm service of google cloud, the template is incompatible with Python3 warning部署google cloud的dl vm服务后,模板不兼容Python3警告
【发布时间】:2019-12-21 06:53:28
【问题描述】:

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

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-dl-platform


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-08
      • 2016-03-25
      • 1970-01-01
      • 1970-01-01
      • 2019-10-24
      • 1970-01-01
      相关资源
      最近更新 更多