以下是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.
Shape must be rank 1 but is rank 0 for 'bn_conv1_4/Reshape_4' (op: 'Reshape') with
最新推荐文章于 2020-12-29 21:37:08 发布