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.
gitlab4.0備份還原
2.
openstack
3.
深入探討OSPF環路問題
4.
代碼倉庫-分支策略
5.
Admin-Framework(八)系統授權介紹
6.
Sketch教程|如何訪問組件視圖?
7.
問問自己,你真的會用防抖和節流麼????
8.
[圖]微軟Office Access應用終於啓用全新圖標 Publisher已在路上
9.
微軟準備淘汰 SHA-1
10.
微軟準備淘汰 SHA-1
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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.
>>更多相關文章<<