weizhepei / CasRel

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
https://arxiv.org/abs/1909.03227
MIT License
767 stars 141 forks source link

显示无法找到该文件,saved_weights/NYT/best_model.weights' #81

Open 32209056 opened 1 year ago

32209056 commented 1 year ago

大佬, 运行 run.py 文件时报错,显示无法找到该文件,saved_weights/NYT/best_model.weights',请问best_model.weights文件是如何生成的,请问best_model.weights文件是如何生成的

youngsasa2021 commented 12 months ago

同样遇到这个问题,请问楼上找到解决方法了嘛?

Ding-Chian commented 6 months ago

parser.add_argument('--train', default=False, type=bool, help='to train the HBT model, python run.py --train=True'),先设置为True跑一遍吧

32209056 commented 6 months ago

谢谢,default=True,就成功了,需要进行训练,保存权重