-
Notifications
You must be signed in to change notification settings - Fork 97
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
BinaryNet in TensorFlow ?... #9
Comments
Hi Yonathan, Sorry for the delay. Sure, just follow the a training algorithm as appeared in the paper. You Best, On Sun, Aug 21, 2016 at 4:38 PM, Jony101K [email protected] wrote:
|
Hi Itay, Thanks for your response! I have already tried implementing it in TF: I initialized all my variables with the following function:
where fw() is my binarization function:
and instead of using Relu, I used my activation function fa():
What do you think?... Many Thanks! |
Hi, Jony101K |
Hi @Jony101K, Regards, |
I have been trying to implement it by myself. Is there any progress on the topic? @Jony101K or @itayhubara or @Alexivia |
Hi @abhishek42 |
Hi @Alexivia , the link is broken |
just copy and paste into your search bar |
Got it. Also, on the same topic, I saw an issue started by you which was closed as someone suggested to ask it on stack overflow, but i think it is really helpful for BNNs. Can you share the question from stack overflow (if you went there for help) or did you use the method pointed out in the same thread? |
I ended up using something similar to what gaohuazuo answered, but without the Defun class, just with a normal Python function. |
Is it possible for you to publish your implementation because I am working
on a similar thing and have been stuck with it for some time
…On Aug 10, 2017 1:23 PM, "Alexandre Vieira" ***@***.***> wrote:
I ended up using something similar to what gaohuazuo answered, but without
the *Defun* class, just with a normal Python function.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALVdlMKUkNZCtFrl88TiZgOmWd9jSlJlks5sWrbwgaJpZM4JpTJv>
.
|
Is it possible for you to publish your implementation because I am working |
I published my implementation in TF names https://github.com/itayhubara/BinaryNet.tf/. |
I've reimplemented it in TF2 (using tf.keras) for myself, but maybe somebody would also find a use for it. It also doesn't include shift-based BN/AdaMax, but is otherwise similar to the Theano version and supports all 3 datasets from the paper. |
Hi Itay,
I read the BinaryNet paper and it seems very promising and suggests huge speed/power gain.
I am currently using TensorFlow framework and Im not familiar with Torch at all.
I was wondering if this great work can be converted to TF framework?
is it possible to implement it in TF? Have you maybe done this?
Many thanks!
Yonathan
The text was updated successfully, but these errors were encountered: