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

Pickle load of joblib not working on Heroku #2

Closed
Shahadate-Rezvy opened this issue Jul 21, 2021 · 0 comments
Closed

Pickle load of joblib not working on Heroku #2

Shahadate-Rezvy opened this issue Jul 21, 2021 · 0 comments

Comments

@Shahadate-Rezvy
Copy link

Hi, I followed one of your explainerdashboard example to deploy a heroku app. I trained my own model and done a dump of the processed model as joblib file. I am currently facing an error as attached, do you have any idea please why this is happening?

2021-07-20T22:02:51.103807+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle

2021-07-20T22:02:51.106049+00:00 app[web.1]: obj = unpickler.load()

2021-07-20T22:02:51.106083+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/pickle.py", line 1210, in load

2021-07-20T22:02:51.106856+00:00 app[web.1]: dispatchkey[0]

2021-07-20T22:02:51.106880+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/pickle.py", line 1511, in load_newobj

2021-07-20T22:02:51.107719+00:00 app[web.1]: obj = cls.new(cls, *args)

2021-07-20T22:02:51.107748+00:00 app[web.1]: File "pandas/_libs/internals.pyx", line 572, in pandas._libs.internals.BlockManager.cinit

2021-07-20T22:02:51.108139+00:00 app[web.1]: TypeError: cinit() takes at least 2 positional arguments (0 given)

2021-07-20T22:02:51.974213+00:00 heroku[web.1]: Process exited with status 1

2021-07-20T22:02:52.151564+00:00 heroku[web.1]: State changed from starting to crashed

I have the all the modified files at https://github.com/Shahadate-Rezvy/salmon_explainer

Many thanks

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

1 participant