We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- paddlepaddle: - paddlepaddle-gpu: - paddlenlp:
examples/text_classification/ernie_doc/train.py line 340: predict(model, test_dataloader, args.file_path, memories, test_ds.label_list) args中不存在参数“args.file_path”,根据代码逻辑,应该是参数“args.test_results_file”
python train.py --batch_size 4 --model_name_or_path ernie-doc-base-zh --epoch 5 --output_dir ./checkpoints/
报错如图:
The text was updated successfully, but these errors were encountered:
感谢反馈
Sorry, something went wrong.
wawltor
Successfully merging a pull request may close this issue.
软件环境
重复问题
错误描述
examples/text_classification/ernie_doc/train.py line 340: predict(model, test_dataloader, args.file_path, memories, test_ds.label_list) args中不存在参数“args.file_path”,根据代码逻辑,应该是参数“args.test_results_file”
稳定复现步骤 & 代码
python train.py --batch_size 4 --model_name_or_path ernie-doc-base-zh --epoch 5 --output_dir ./checkpoints/
报错如图:

The text was updated successfully, but these errors were encountered: