
深度学习
一个小白的自述
工作不享受,享受不工作。
展开
-
Tensorflow Error:AttributeError: 'module' object has no attribute 'LinearOperatorTriL'
现象:AttributeError: ‘module’ object has no attribute ‘LinearOperatorTriL’ 原因:Tensorflow 版本问题 解决方法: 把 tril = tf.contrib.linalg.LinearOperatorTriL(diag_vals).to_dense() # (T_q, T_k) 换成 tril = tf.linalg....原创 2019-11-28 11:02:17 · 679 阅读 · 0 评论 -
tensorflow AttributeError: _parse_flags
主要是tensorflow版本问题引起的错误:AttributeError: _parse_flags FLAGS._parse_flags() # 旧版本的tf用的方法 旧版本报错:AttributeError: _parse_flags FLAGS.flag_values_dict() # 新版本的tf用的方法 新版本完美解决 ...原创 2019-06-10 14:20:09 · 363 阅读 · 0 评论 -
Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determin
Tensorflow错误:Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 解决方案 conda upd...原创 2019-08-15 18:41:23 · 6267 阅读 · 6 评论 -
Tensorflow错误:非法指令(吐核)
非法指令(吐核) 原因分析: tensorflow版本和操作系统版本不兼容,用版本相对老的tensorflow 解决方案 安装tensorflow==1.5.0为例: pip install -i https://pypi.douban.com/simple tensorflow==1.5.0 参考:https://blog.youkuaiyun.com/xuefeng1207/article/detai...原创 2019-08-15 18:43:21 · 4295 阅读 · 0 评论 -
Tensorflow错误:AttributeError: module 'pandas' has no attribute 'core'
AttributeError: module ‘pandas’ has no attribute ‘core’ 解决方案 # 查看pandas版本信息 conda list | grep pandas pandas == 0.23.4 或者 python -m pip list | grep pandas pandas == 0.24.0 安装pandas==0.23.0 pip install ...原创 2019-08-15 18:44:45 · 2994 阅读 · 0 评论 -
float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(floa
警告: floattonp.floatingis deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type`. from ._conv import register_converters as _register_converters 解决方案 pip install -i https://pyp...原创 2019-08-15 18:46:15 · 936 阅读 · 0 评论 -
Keras:一. 简介
Keras简介 Keras 是一个用 Python 编写的高级神经网络 API。 适用以下场景: 允许简单而快速的原型设计(由于用户友好,高度模块化,可扩展性)。 同时支持卷积神经网络和循环神经网络,以及两者的组合。 在 CPU 和 GPU 上无缝运行。 https://keras.io/zh/ ...原创 2019-08-15 19:17:43 · 156 阅读 · 0 评论