alexanderbaumann99 / S3M

Implementation of MICCAI'23: S3M: Scalable Statistical Shape Modeling through Unsupervised Correspondences
MIT License
15 stars 1 forks source link

np.int error #4

Open rfrs opened 3 months ago

rfrs commented 3 months ago

Dear all,

I am getting the following error:

AttributeError: module 'numpy' has no attribute 'int'. np.intwas a deprecated alias for the builtinint. To avoid this error in existing code, useintby itself. Doing this will not modify any behavior and is safe. When replacingnp.int, you may wish to use e.g.np.int64ornp.int32to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

I am running it with py39, pytorch 2.3.0 (dgl package is not compatible with pytorch 2.30) and cu121. Could you help? Thanks

Best

alexanderbaumann99 commented 3 months ago

Hi,

I am happy that you're interested in our work!

I don't use "np.int()" in my code, hence I think there is an incompatibility between one of the installed packages and numpy. To resolve this, it would be helpful if you could send the entire error traceback.

Best, Alex