allanj/pytorch_neural_crf

ValueError: The label B-MISC does not exist in label2idx dict. The label might not appear in the training set.

demdecuong opened this issue · 1 comments

I run python trainer.py and follow your installation guildeline but got this bug. I use branch 'main' of your repo.

While debugging, I found that the function convert_iobes in src/data/data_utils might work not correctly since it replace the B-MISC into S-MISC in all situations with given train.txt :(

Looking forward to hearing from you

I have replace sample data into full data and it run successful.