foamliu/Self-Attention-Keras

报错:ValueError: Dimension must be 5 but is 4 for 'attention_7/transpose_8' (op: 'Transpose') with input shapes: [?,8,?,8,?], [4].

kiijeonghoo opened this issue · 2 comments

Maybe keras or TF version problem?

+1,同楼上,attention做点积时,维度错误

+1,同楼上,attention做点积时,维度错误

你好,请问你最后解决了嘛