matthew-brett / transforms3d

3 dimensional spatial transformations
http://matthew-brett.github.io/transforms3d/
Other
467 stars 83 forks source link

Numpy np.float deprecated #56

Closed cbolich closed 1 year ago

cbolich commented 1 year ago

webui-docker-auto-cpu-1 | File "/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/inpaint/mesh_tools.py", line 33, in webui-docker-auto-cpu-1 | import transforms3d webui-docker-auto-cpu-1 | File "/usr/local/lib/python3.10/site-packages/transforms3d/init.py", line 10, in webui-docker-auto-cpu-1 | from . import quaternions webui-docker-auto-cpu-1 | File "/usr/local/lib/python3.10/site-packages/transforms3d/quaternions.py", line 26, in webui-docker-auto-cpu-1 | _MAX_FLOAT = np.maximum_sctype(np.float) webui-docker-auto-cpu-1 | File "/usr/local/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr webui-docker-auto-cpu-1 | raise AttributeError(__former_attrs__[attr]) webui-docker-auto-cpu-1 | AttributeError: module 'numpy' has no attribute 'float'. webui-docker-auto-cpu-1 | np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. webui-docker-auto-cpu-1 | The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: webui-docker-auto-cpu-1 | https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations