![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
DoublePower.
一起学习吧
展开
-
安装h5py、matplotlib失败。报错gcc: error trying to exec ‘cc1plus‘: execvp: No such file or directory
问题:安装h5py和matplotlib时,报错:ERROR: Failed building wheel for matplotlibgcc: error trying to exec 'cc1plus': execvp: No such file or directoryerror: command 'gcc' failed with exit status 1解决办法:刚开始从包的角度出发,尝试了各种......原创 2022-08-13 17:03:04 · 648 阅读 · 1 评论 -
ValueError: Dimension 1 in both shapes must be equal, but are 5 and 3.
使用VGG16进行人群密度等级分类时出现了该问题,原因是之前进行3分类训练得到过一个模型,再进行5分类训练时,(猜测)好像会在之前3分类的模型基础上接着训练,而不是直接训练出一个新的模型进行覆盖。解决方法:将文件夹中之前训练出的模型删除掉。...原创 2021-07-14 11:09:39 · 684 阅读 · 0 评论