天天看点

成功解决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或类似方法。