We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在AutoCF代码中计算Gumble噪声时,会计算出-inf,进而导致infoloss的值变为inf
The text was updated successfully, but these errors were encountered:
嗨,感谢关注👋
谢谢指正,可以尝试一下把42行替换成
noise = t.rand(scores.shape).cuda() noise[noise == 0] = 1e-8
这样避免sample到0的情况,应该能解决问题 :)
Best regards, Xubin
Sorry, something went wrong.
No branches or pull requests
在AutoCF代码中计算Gumble噪声时,会计算出-inf,进而导致infoloss的值变为inf
The text was updated successfully, but these errors were encountered: