- 博客(3)
- 收藏
- 关注
原创 AttributeError: ‘Lambda‘ object has no attribute ‘outbound_nodes‘
AttributeError: ‘Lambda’ object has no attribute 'outbound_nodes’在keras环境中中调用带有tensorflow.keras的模块时,发生上述报错。估计是keras与tensorflow.keras发生冲突,当把tensorflow.keras模块调用tensorflow.keras改为调用keras,问题解决。因此,只使用一种环境即可。...
2021-03-15 22:08:56 850
原创 循环神经网络文本与时间序列感想
文本:使用经典的 IMDB 影评数据集作为对象。其中25000 条影评用于训练集,25,000 条用于测试集。 选用训练集作为说明,假设训练集每个句子长度通过keras.preprocessing.sequence.pad_sequences()函数获得相同的长度,即length=80。句子中每个单词通过Embedding层完成词向量编码后,长度n=100。则获得的网络输入向量为**[25000,80,100]**。即评论数,句子长度,单词向量。时间序列:使用pip install quandl获得G
2020-11-16 16:01:08 310
转载 jupyter notebook :TypeError: __init__() got an unexpected keyword argument ‘io_loop‘
jupyter notebook :TypeError: init() got an unexpected keyword argument ‘io_loop’jupyter版本问题:Ubuntu:sudo -H pip install jupyter;python3: sudo -H pip3 install jupytermacOS : pip install --upgrade jupyterwindows: pip install --upgrade jupyter转载于https
2020-09-18 10:48:36 1769
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人