Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ankitbbisht opened this issue Nov 7, 2019 · 2 comments
Open

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

ankitbbisht opened this issue Nov 7, 2019 · 2 comments

Comments

@ankitbbisht
Copy link

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.

@ManivannanIkomet
Copy link

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

@ankitbbisht
Copy link
Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants