Shape must be rank 1 but is rank 0 for 'bn_conv1_4/Reshape_4' (op: 'Reshape') with

以下是github上的答案,親測有效 ,不用將keras的版本降低
please change tensorflow_backend in keras by yourself as suggested by @see–
In keras version - 2.2.4 -> backend --> tesnorflow_backend.py : change “()” to “[ ]” in line no 1908,1910,1914, 1918.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章