MatthieuCourbariaux / BinaryNet

Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1
BSD 3-Clause "New" or "Revised" License
1.04k stars 346 forks source link

How to extract trained binarized weights with BinaryNet #33

Closed changchun-zhou closed 7 months ago

JordyDH commented 5 years ago

You can read the weight parameters and use the a sign function that is used is Run-Time

JanashreeA commented 5 years ago

Can i extract the weights at train time itself?

MatthieuCourbariaux commented 5 years ago

Yes, you can extract the weights at any time during training. Just apply the sign function to the full precision latent weight matrix.