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

Binary weights #15

Open
techmonsterwang opened this issue May 30, 2022 · 0 comments
Open

Binary weights #15

techmonsterwang opened this issue May 30, 2022 · 0 comments

Comments

@techmonsterwang
Copy link

Hi, author. Thanks for the nice work!

有个问题想请教下作者。看到HardBinaryConv这段代码表示一个二值卷积,但是打印了权重,发现大概是0.005,0.006等等这样的数。看到他代码给二值化卷积torch.sign(real_weights)前面乘了个scaling_factor,这样好像就又变成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

1 participant