Zian-Xu / Swin-MAE

Pytorch implementation of Swin MAE https://arxiv.org/abs/2212.13805
62 stars 12 forks source link

File "/home/moghadas/miniconda3/lib/python3.11/site-packages/numpy/__init__.py", line 324, in __getattr__ raise AttributeError(__former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'. #13

Open moghadas76 opened 4 months ago

Zian-Xu commented 4 months ago

I believe the 'np.int' function may have been deprecated due to an update of the numpy version. Please try to change 'np.int' to 'np.int32'. If it still reports an error, please provide me the exact location in the code.