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 Saving a ScikitLearn Model #127

Open
klauscj68 opened this issue Jun 9, 2023 · 2 comments
Open

Error Saving a ScikitLearn Model #127

klauscj68 opened this issue Jun 9, 2023 · 2 comments

Comments

@klauscj68
Copy link

Hi I'm running into an error saving a scikitlearn model. I posted the issue to the Julia discourse here https://discourse.julialang.org/t/error-saving-scikitlearn-jl-pipeline/99614 . I am trying to follow the pattern at https://scikitlearnjl.readthedocs.io/en/latest/quickstart/ for saving a model. My worry is that PyCallJLD may be incompatible with a sufficiently updated version of JLD?

Thanks for any help!

@AP6YC
Copy link

AP6YC commented Jul 20, 2023

I'm having the same issue; the example at https://cstjean.github.io/ScikitLearn.jl/stable/man/jld/ doesn't work with the following error:

LoadError: type DataType has no field size

I too suspect that there is some kind of a change at the patch level (I have a package that pinned ScikitLearn and others at the minor level), but I can't quite figure out what the error means let alone which package is to blame.

@cstjean
Copy link
Owner

cstjean commented Jul 21, 2023

My worry is that PyCallJLD may be incompatible with a sufficiently updated version of JLD?

That's entirely possible. Unfortunately, I do not have time to look into this issue, but any PR is appreciated PyCallJLD is a tiny package, so it really shouldn't be that hard.

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

3 participants