ERNIE finetuning报错
Created by: xiegegege
1.paddle develop ,python3.6下运行Ernie fine-tuning任务有如下报错:
Traceback (most recent call last):
File "run_classifier.py", line 276, in
main(args)
File "run_classifier.py", line 233, in main
"dev")
File "/ssd1/xiege/logs/LARK/ERNIE/finetune/classifier.py", line 180, in evaluate
qids.extend(np_qids.reshape(-1).tolist())
AttributeError: 'NoneType' object has no attribute 'reshape'
2.另外在运行预训练时,epoch计数从2开始不是从0开始