TF报错解决

一、import tensorflow

#h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
#from ._conv import register_converters as _register_converters
#solution
sudo pip install h5py==2.8.0rc1

 

posted @ 2018-12-04 15:59  1直在路上1  阅读(254)  评论(0编辑  收藏  举报