Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error in \utils\autoaugment.py #49

Closed
xingaocs opened this issue Jun 29, 2023 · 1 comment
Closed

An error in \utils\autoaugment.py #49

xingaocs opened this issue Jun 29, 2023 · 1 comment

Comments

@xingaocs
Copy link

In line 176 "posterize": np.round(np.linspace(8, 4, 10), 0).astype(np.int) " AttributeError raised for "module 'numpy' has no attribute 'int'", what should i do?
大佬您好,我在运行fetril的时候报错了,报错信息显示在\utils\autoaugment.py的176行中有np.round(np.linspace(8, 4, 10), 0).astype(np.int) ,而np没有int只有int/unint 8/16/32/64,请问应该是哪个呀??呜呜😭😭😭

@xingaocs
Copy link
Author

xingaocs commented Jul 2, 2023

32就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants