天天看點

成功解決tensorflow\contrib\learn\python\learn\datasets\base._internal_retry.<locals>.wrap.<locals>.wrapp

解決問題

tensorflow\contrib\learn\python\learn\datasets\base.py:252: _internal_retry..wrap..wrapped_fn (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.

Instructions for updating:

Please use urllib or similar directly.

解決思路

tensorflow \contrib \learn \python \learn \datasets \base.py:252:_internal_retry..wrap..wrapped fn(來自tensorflow.contrib.learn.python.learn.datasets.base)已棄用,将在将來的版本中删除。

解決方法

更新說明:

請直接使用Urllib或類似方法。