You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out that prior to Numpy 1.17, np.pad doesn't provide a default value for the mode parameter. Upgrading Numpy fixed the problem.
It would be helpful if you bump the required Numpy version to 1.17 or higher in your setup.py or provide a default value wherever you call np.pad if you'd like to maintain a wider range of supported Numpy versions.
The text was updated successfully, but these errors were encountered:
Great job on the package!
I got a runtime error from Numpy 1.16 when calling the
np.pad
function from this lineTurns out that prior to Numpy 1.17,
np.pad
doesn't provide a default value for themode
parameter. Upgrading Numpy fixed the problem.It would be helpful if you bump the required Numpy version to 1.17 or higher in your
setup.py
or provide a default value wherever you callnp.pad
if you'd like to maintain a wider range of supported Numpy versions.The text was updated successfully, but these errors were encountered: