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

Test code, which is part of the Readme is failing #71

Open
HarvinderBhullar opened this issue Apr 21, 2020 · 2 comments
Open

Test code, which is part of the Readme is failing #71

HarvinderBhullar opened this issue Apr 21, 2020 · 2 comments

Comments

@HarvinderBhullar
Copy link

Traceback (most recent call last):
File "", line 1, in
File "//miniconda3/envs/sklearn/lib/python3.7/site-packages/sklearn_porter/Porter.py", line 61, in init
sklearn_ver = [int(v) for v in sklearn_ver]
File "//miniconda3/envs/sklearn/lib/python3.7/site-packages/sklearn_porter/Porter.py", line 61, in
sklearn_ver = [int(v) for v in sklearn_ver]
ValueError: invalid literal for int() with base 10: 'post1'

@HarvinderBhullar
Copy link
Author

HarvinderBhullar commented Apr 21, 2020

It is failing with latest release of scikit-learn==0.22.2.post1

@lucasavila00
Copy link

It's a bug in sklearn_porter.
Use another version of scikit_learn for now, 0.22.2.post1 is not compatible.
Use 0.22.2 or 0.22. They all work fine.

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

No branches or pull requests

3 participants