PLATO执行训练时报错
Created by: MartinKUNGGitHub
我在PaddlePaddle 1.6.3的版本上, 运行PLATO的 https://github.com/PaddlePaddle/Research/tree/master/NLP/Dialogue-PLATO DATASET=DailyDialog sh scripts/${DATASET}/train.sh
命令时,报如下的错误:
Error Message Summary:
Error: ShapeError: The last dimensions of the 'Ids' tensor must be 1. But received Ids's last dimensions = 173, Ids's shape = [4, 173].
[Hint: Expected ids_dims[ids_rank - 1] == 1, but received ids_dims[ids_rank - 1]:173 != 1:1.] at (/paddle/paddle/fluid/operators/lookup_table_op.cc:51)
- [[ false = true ]]
scripts/PersonaChat/train.sh: 47: scripts/PersonaChat/train.sh: [[: not found 请帮忙看看是什么原因,使用的是CPUPlace,没有使用GPU。