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

请教一下代码中参数α的计算问题 #19

Open
tmdlin opened this issue Oct 23, 2022 · 0 comments
Open

请教一下代码中参数α的计算问题 #19

tmdlin opened this issue Oct 23, 2022 · 0 comments

Comments

@tmdlin
Copy link

tmdlin commented Oct 23, 2022

您的论文中的α的定义和代码中的计算方式有所不同
代码中α计算为w = round(args.a / np.pi * np.arctan(args.c * (entropy(u) - entropy(checkpoint[key]))) + 0.5, 2)
而文章中并未除以π
请问代码中多出的这一步计算参数有何意义呢

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

1 participant