做工作遇到的一些问题集锦

1. [Koutsouleris, 204 #248]ImportError: No module named ‘PIL’

pip install Pillow

2. TypeError: softmax() got an unexpected keyword argument ‘axis’

https://blog.csdn.net/nijiayan123/article/details/81907302

3. tensorflow gan lib

https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/gan

4. ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

https://zhuanlan.zhihu.com/p/28997106

https://www.jianshu.com/p/a201b91b3d96

不是版本不对应的问题,是/usr/local/cuda-9.0没开通权限的问题

Sudo Chmod -R 777 /usr/local/cuda-9.0

需要安装高版本的cuda,cudnn

export PATH=/usr/local/cuda-9.0/bin:$PATH

export LD_LIBRARY_PATH=usr/local/cuda-9.0/lib64

export CUDA_HOME=$DATA_PATH/soft/cuda-9.0

LD_LIBRARY_PATH=/DATA/119/gyhu/soft/cuda-9.0/lib64

PATH==/DATA/119/gyhu/soft/cuda-9.0/bin

5. SyntaxError: Non-ASCII character ‘\xe9’

https://blog.csdn.net/LiHaoYang11/article/details/55806099

6. Pycharm查找与替换

https://www.cnblogs.com/wuaihua/p/7597017.html

7. enumerate 用法

https://www.cnblogs.com/huangbiquan/p/7854246.html

8. TypeError: Expected sequence or array-like, got <class ‘NoneType’>

空的,matlab没导入数据

9. Conv2DTranspose

https://blog.csdn.net/nima1994/article/details/83959495

10. numpy的升维和降维

https://www.jianshu.com/p/fd526675c7b7

11. keras怎么特征合并到一起

https://blog.csdn.net/quiet_girl/article/details/84106625
http://blog.sina.com.cn/s/blog_a14297610102x1ze.html
http://blog.sina.com.cn/s/blog_a14297610102x1ze.html
https://keras-cn-docs.readthedocs.io/zh_CN/latest/getting_started/functional_API
https://keras-cn-docs.readthedocs.io/zh_CN/latest/getting_started/sequential_model/

12. Keras: Merge和merge区别、Sequencial()和Model()区别

https://blog.csdn.net/quiet_girl/article/details/84106625

13. deep learning 调参

https://zhuanlan.zhihu.com/p/24720954

https://www.zhihu.com/question/25097993

14. keras的EarlyStopping callbacks的使用与技巧

https://blog.csdn.net/silent56_th/article/details/72845912
https://blog.csdn.net/zhangxin4832/article/details/81452996

15. ValueError: Error when checking target: expected dense_2 to have 2 dimensions, but got array with shape (990, , 2)

https://blog.csdn.net/weixin_41735859/article/details/86288356

16.深度学习迭代停止条件

https://deeplearning4j.org/cn/earlystopping
https://deeplearning4j.org/cn/earlystopping

https://blog.csdn.net/hyg1985/article/details/42556847

17. 贝叶斯深度学习,可解释性

https://www.cnblogs.com/wuliytTaotao/p/10281766.html
让DL可解释?这一份66页贝叶斯深度学习教程告诉你
http://www.zhuanzhi.ai/document/bc61534f4dfc07e4e44b205abc480319
深度学习的可解释性研究(一):让模型「说人话」
https://www.leiphone.com/news/201805/Ti3mOdeRlWTplIlZ.html
https://www.leiphone.com/news/201806/PDfTEnrBfkUcggu2.html

18. 如何计算参数大小

https://blog.csdn.net/hzhj2007/article/details/80164909

19. keras 最后结果精度不一致(结果固定)

https://blog.csdn.net/qq_33039859/article/details/75452813

20. 数据清洗

https://www.cnblogs.com/jasonfreak/p/5448385.html
https://www.cnblogs.com/jasonfreak/p/5448385.html

21. TypeError: float() argument must be a string or a number, not ‘map’

https://blog.csdn.net/qq_30190513/article/details/78286582

22. Keras中利用np.random.shuffle()打乱数据集

from numpy as np
index=np.arange(2000)
np.random.shuffle(index)
print(index[0:20])
X_train=X_train[index,:,:,:] #X_train是训练集,y_train是训练标签
y_train=y_train[index]

23. 深度学习中学习率的选择

https://blog.csdn.net/u012193416/article/details/79521508

24. Keras下深度学习模型性能评估

https://blog.csdn.net/qq_22885109/article/details/81081977

25. excel表格全部数据怎么乘以一个常数

https://zhidao.baidu.com/question/123195594.html

发布了13 篇原创文章 · 获赞 2 · 访问量 1132

猜你喜欢

转载自blog.csdn.net/xiaojianzhao/article/details/103673938