Error when checking input: expected input_1 to have 3 dimensions, but got array with shape (37, 30)
吴恩达深度学习作业Neural+machine+translation+with+attention+-+yangdaxia运行报错:原因如下:模型要求输入维度为(m, 30, 37)实际输入维度为(37, 30)所以经过两部处理:1,转置transpose()2.增加一维EXAMPLES = ['3 May 1979', '5 April 09', '21th of Au...
原创
2018-11-12 20:14:06 ·
22713 阅读 ·
2 评论