Skip to content

Commit 9381e9f

Browse files
authored
[bugfix] fix erniedoc (#8393)
* fix erniedoc * revert
1 parent d9dcd9a commit 9381e9f

File tree

1 file changed

+2
-2
lines changed
  • examples/text_classification/ernie_doc

1 file changed

+2
-2
lines changed

examples/text_classification/ernie_doc/train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ def do_train(args):
337337
)
338338
# Copy the memory
339339
memories = create_memory()
340-
predict(model, test_dataloader, args.file_path, memories, test_ds.label_list)
341-
logger.info("Done Predicting the results has been saved in file: {}".format(args.file_path))
340+
predict(model, test_dataloader, args.test_results_file, memories, test_ds.label_list)
341+
logger.info("Done Predicting the results has been saved in file: {}".format(args.test_results_file))
342342

343343

344344
if __name__ == "__main__":

0 commit comments

Comments
 (0)