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

[ INVALID ] name 'string' is not defined #19

Open
noczero opened this issue Aug 4, 2019 · 1 comment
Open

[ INVALID ] name 'string' is not defined #19

noczero opened this issue Aug 4, 2019 · 1 comment

Comments

@noczero
Copy link

noczero commented Aug 4, 2019

I had an issue on using the kumparanian cli. It raises an error for my model.

If I try kumparanian ds verify model.pickle on the terminal, it will throw an error [Invalid] name 'string' is not defined.

I had debugged the kumparanian package and found the error when invoking this method model.predict(model_name) on verify method.

It caused by an imported package that not on model.pickle, meanwhile my method on predict required string, re and Sastrawi.

So, I modified model.py to have the verify and evaluate method from cli.py.
And it works well, but not on cli.

@rzsgrt
Copy link

rzsgrt commented Sep 4, 2019

hmmm have you tried to implement your processing inside your model? i solve this problem by put my stopword removal inside my 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