Closed angeAnonyme closed 1 month ago
I just replaced the word interp2d
with RectBivariateSpline
and commented out kind="cubic"
. works flawlessly, afaik and by what scipy told me in the error message.
BTW, in your code example is the old not-working code
Awesome, thanks for the great work. Indeed I had the old code but it was commented ("""..."""). It was for reference. I am unsure why my solution was using the transpose function, but if it works without, it's easier. I close the issue.
Indeed I had the old code but it was commented ("""...""").
Oh! You know, you can use code highlighting by adding the language used after the first three ' here in github.
Print("like for example...."+23+variable)
So, like '''python
.
With the latest version of Scipy, I ran into some error due to interp2d been depleated:
"NotImplementedError:
interp2d
has been removed in SciPy 1.14.0."The solution was to change, it in the .util.image_handling.py, the resize_array function. Here is the new code:
Solution inspired from: https://gist.github.com/ev-br/8544371b40f414b7eaf3fe6217209bff