训练starnet出错
Created by: lfxx
训练日文 训练命令:
python tools/train.py -c configs/rec/rec_r34_vd_tps_bilstm_ctc_smlange.yml
报错如下:
InvalidArgumentError: The value of Attr(blank) should be in interval [0, 2183), but received
[Hint: Expected blank < sequence_width, but received blank:2183 >= sequence_width:2000.] at (/paddle/paddle/fluid/operators/warpctc_op.cc:58)
[operator < warpctc > error]
之前用attention模型训练时,说是字符字典不能超过2000行,这次改用了ctc,貌似又是某个参数超过了范围?请哪位帮忙看一下,急等解决,非常感谢.