JavaShuo
欄目
標籤
ValueError:Input 0 is incompatible with layer lstm_1: expected ndim=3,found ndim=2
時間 2021-01-08
原文
原文鏈接
基於Keras搭建CNN+LSTM模型對RNA和蛋白質作用對進行分類 在初始階段我直接將LSTM接在了CNN模型的下邊,但因爲此刻輸出的X.shape是(None,384),而LSTM需要三維的輸入,所以程序跳出:ValueError:Input 0 is incompatible with layer lstm_1: expected ndim=3,found ndim=2的錯誤,如下圖: 所
>>阅读原文<<
相關文章
1.
ValueError: Input 0 is incompatible with layer sequential: expected shape=(None, None, 1), found...
2.
報錯 engine "node" is incompatible with this module
3.
Numpy中ndim、shape、dtype、astype的用法
4.
ValueError: Input 0 of node ... was passed float from ... incompatible with expected float_ref.
5.
error jhipster-registry@4.1.1: The engine "node" is incompatible with this module. Expected version
6.
expected single matching bean but found 2
7.
this is incompatible with sql_mode=only_full_group_by
8.
The return type is incompatible with ***Service.***(****)
9.
Plugin 'Scala' is incompatible with this.installation
10.
Error:Unexpected lock protocol found in lock file. Expected 3, found 0.
更多相關文章...
•
Thymeleaf擴展2(Say Hello)
-
Thymeleaf 教程
•
QBC的2種檢索方式
-
Hibernate教程
•
Kotlin學習(一)基本語法
•
爲了進字節跳動,我精選了29道Java經典算法題,帶詳細講解
相關標籤/搜索
ndim
incompatible
expected
layer
2-0
2+3
2/3
3.......2
3(2)
2&3
PHP 7 新特性
Spring教程
MyBatis教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
子類對象實例化全過程
2.
【Unity2DMobileGame_PirateBomb09】—— 設置基本敵人
3.
SSIS安裝以及安裝好找不到商業智能各種坑
4.
關於 win10 安裝好的字體爲什麼不能用 WebStrom找不到自己的字體 IDE找不到自己字體 vs找不到自己字體 等問題
5.
2019版本mac電腦pr安裝教程
6.
使用JacpFX和JavaFX2構建富客戶端
7.
MySQL用戶管理
8.
Unity區域光(Area Light) 看不見光線
9.
Java對象定位
10.
2019-9-2-用自動機的思想說明光速
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
ValueError: Input 0 is incompatible with layer sequential: expected shape=(None, None, 1), found...
2.
報錯 engine "node" is incompatible with this module
3.
Numpy中ndim、shape、dtype、astype的用法
4.
ValueError: Input 0 of node ... was passed float from ... incompatible with expected float_ref.
5.
error jhipster-registry@4.1.1: The engine "node" is incompatible with this module. Expected version
6.
expected single matching bean but found 2
7.
this is incompatible with sql_mode=only_full_group_by
8.
The return type is incompatible with ***Service.***(****)
9.
Plugin 'Scala' is incompatible with this.installation
10.
Error:Unexpected lock protocol found in lock file. Expected 3, found 0.
>>更多相關文章<<