-
Notifications
You must be signed in to change notification settings - Fork 18
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
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part. #45
Comments
Hi @dirknbr , can you include data and code to replicate this? The data can be mock/random data if that helps |
sure
|
Ok thanks @dirknbr , I'll take a look soon and get back to you 👍 |
Well @dirknbr , in short, numpy introduced a breaking change in some recent version. I can confirm that 3 unit tests in this package are now broken with the most recent version of numpy. Thanks for catching this! Two options. The quicker one: I recommend you create a new virtual environment for your project work and force install a version of numpy < 1.20. This will have a cascading effect on the other dependencies and they'll end up being older versions too. The slightly more challenging one: could I get your help in patching |
ok will have a look whether I can fix it |
fixed it locally and will now try to upload it, pytest passes |
Will this fix be available in the latest Numpy version (stable)? I am also encountering the same problem. |
when I run
gps_point = gps.point_estimate(np.array([1]))
I get this error
the model was trained with continours treatment in pandas format
The text was updated successfully, but these errors were encountered: