是少下载某个文件了吗?
Traceback (most recent call last):
File "train.py", line 225, in
training(args)
File "train.py", line 153, in training
train_base(opt, info_dict, train_examples, dev_info)
File "train.py", line 43, in train_base
model = build_model(opt.task_type, opt.bert_dir, **model_para)
File "/code/src_final/utils/model_utils.py", line 450, in build_model
model = Role1Extractor(bert_dir=bert_dir,
File "/code/src_final/utils/model_utils.py", line 188, in init
super(Role1Extractor, self).init(bert_dir=bert_dir,
File "/code/src_final/utils/model_utils.py", line 70, in init
assert os.path.exists(bert_dir) and os.path.exists(config_path), \
AssertionError: pretrained bert file does not exist
是少下载某个文件了吗? Traceback (most recent call last): File "train.py", line 225, in
training(args)
File "train.py", line 153, in training
train_base(opt, info_dict, train_examples, dev_info)
File "train.py", line 43, in train_base
model = build_model(opt.task_type, opt.bert_dir, **model_para)
File "/code/src_final/utils/model_utils.py", line 450, in build_model
model = Role1Extractor(bert_dir=bert_dir,
File "/code/src_final/utils/model_utils.py", line 188, in init
super(Role1Extractor, self).init(bert_dir=bert_dir,
File "/code/src_final/utils/model_utils.py", line 70, in init
assert os.path.exists(bert_dir) and os.path.exists(config_path), \
AssertionError: pretrained bert file does not exist