![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
城序猿
AI-DL-ML-NLP
展开
-
亲测解决导入Keras报错:AttributeError: module ‘tensorflow.python.keras.backend‘ has no attribute ‘get_graph‘
初次安装导入Keras时很多人可能都会遇到这样的报错:AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'原因是你安装的tensorflow版本和keras版本不匹配!解决办法:方案一: 网上有的说直接更新tensorflow:pip install --upgrade ...原创 2019-11-30 15:59:57 · 14261 阅读 · 5 评论 -
如何解决过拟合、欠拟合【学习总结】
一、过拟合(Overfitting)1. 概念:If you can fit the training data,but largeerror on testing data,then you probably have large variance.过拟合是指模型在训练集上的表现很好,但在测试集和新数据上的表现很差。2. 特征:Small Bias; Large Variance;Co...原创 2020-03-17 12:11:12 · 691 阅读 · 0 评论