spacy-ner-annotator icon indicating copy to clipboard operation
spacy-ner-annotator copied to clipboard

Error : object of type 'NoneType' has no len()

Open ankitbbisht opened this issue 4 years ago • 2 comments

i have used the code exactly as written, changed the TRAIN_DATA, used your ner annotator to get the data but still the error thrown as soon as train_spacy function is called. it's returning null I guess hence the error. Please help.

ankitbbisht avatar Nov 07 '19 11:11 ankitbbisht

Tell me the which line thrown the error. Check if any json is empty, delete the json from list

ManivannanIkomet avatar Nov 07 '19 12:11 ManivannanIkomet

thanks for quick response, i made a small error while putting in train_data. However i came across one more issue, when i am training the data, iterations are quite up and down. how can i call the best iterated model ?

ankitbbisht avatar Nov 08 '19 07:11 ankitbbisht