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

XNOR for ResNet #21

Open
XinDongol opened this issue May 3, 2018 · 10 comments
Open

XNOR for ResNet #21

XinDongol opened this issue May 3, 2018 · 10 comments

Comments

@XinDongol
Copy link

I was wondering whether there is XNOR for ResNet. Or can you give some hints about how to implement it?

@jxgu1016
Copy link

jxgu1016 commented Jun 1, 2018

Also interested in XNOR for ResNet! @XinDongol have you implemented it yourself?

@25b3nk
Copy link

25b3nk commented Aug 1, 2018

Has anyone implemented XNOR for Resnet ?

@akhauriyash
Copy link

I do not mind implementing ResNet for this if there is interest. However, I will not be able to train it.
I think this task mostly just involves changing the class AlexNet here.

@25b3nk
Copy link

25b3nk commented Sep 10, 2018

I have implemented XNOR-net for ResNet. Basically took the resnet.py from torchvision and added the binary Convolution classes from this repo's alexnet.py and then changed the convolutions in resnet.py from nn.Conv2D to BinConv2D.

@XinDongol
Copy link
Author

I have implemented ResNet-XNOR and reproduce result of xnor paper. I will release it soon when I have time.

@akhauriyash
Copy link

akhauriyash commented Oct 1, 2018

@XinDongol could you kindly share the python models directory code for the ResNet-xNOR with me?
Thanks!

@dorian95
Copy link

I have implemented ResNet-XNOR and reproduce result of xnor paper. I will release it soon when I have time.

Could you please share it with me too? Thanks!

@appleleaves
Copy link

@XinDongol Would you like to share the python models directory code for the ResNet-XNOR or share the implementation idea?

@blueardour
Copy link

@XinDongol Any update on the thread?

@legolas123
Copy link

I have implemented the xnornet ++ paper with resnet-18. You can disable alpha, beta, gamma(scale factors for activation) in model file(BinConv2d). Then you can have the xnornet for resnet-18. Btw xnornet++ is improvement over xnornet and my implementation reaches 60% accuracy for 1 bit activation and 1 bit width.
The link is https://github.com/legolas123/cv-tricks.com/tree/master/xnornet_plusplus

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

8 participants