You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 213, in
training(args)
File "main.py", line 134, in training
train_base(opt, train_examples, dev_examples)
File "main.py", line 44, in train_base
train(opt, model, train_dataset)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\trainer.py", line 219, in train
swa(swa_raw_model, opt.output_dir, swa_start=opt.swa_start)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 83, in swa
model_path_list = get_model_path_list(model_dir)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 74, in get_model_path_list
key=lambda x: (x.split('/')[-3], int(x.split('/')[-2].split('-')[-1])))
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 74, in
key=lambda x: (x.split('/')[-3], int(x.split('/')[-2].split('-')[-1])))
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "main.py", line 213, in
training(args)
File "main.py", line 134, in training
train_base(opt, train_examples, dev_examples)
File "main.py", line 44, in train_base
train(opt, model, train_dataset)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\trainer.py", line 219, in train
swa(swa_raw_model, opt.output_dir, swa_start=opt.swa_start)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 83, in swa
model_path_list = get_model_path_list(model_dir)
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 74, in get_model_path_list
key=lambda x: (x.split('/')[-3], int(x.split('/')[-2].split('-')[-1])))
File "D:\Documents\PycharmProjects\extraction\DeepNER-master\src\utils\functions_utils.py", line 74, in
key=lambda x: (x.split('/')[-3], int(x.split('/')[-2].split('-')[-1])))
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: