ValueError: Error when checking target: expected denseclassify to have 3 dimensions, but got array with shape (8, 5)。

使用keras搭建bilstm+selfattention的模型,进行多文本分类ValueError: Error when checking target: expected denseclassify to have 3 dimensions, but got array w

发现出现ValueError的错误,但检查发现denseclassify层的输入根据summary结果就是3dim的,希望有人帮忙解答一下。

 

 

 

 

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2021-10-17
  • 2022-03-01
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2021-08-23
  • 2021-07-26
相关资源
相似解决方案