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

Question about using or-resnet for original --> rot experiments #16

Open
dingjiansw101 opened this issue Jul 26, 2018 · 3 comments
Open

Comments

@dingjiansw101
Copy link

dingjiansw101 commented Jul 26, 2018

I use the network defined in the demo.py, it is ok to reproduce the similar results for original --> rot experiments on mnist. But when I changed to or-resnet, it got very low results, the accuracy is no more than 50%(even lower than the simple OR-CNN defined in demo.py ). I do not know what's wrong with it. The following is my code.
https://paste.ubuntu.com/p/NssKJbxDqZ/
What's more, when I do original --> rot experiments on cifar-10. I use the network defined in the demo.py. And got results of 35.26 and 44.97 for without/with orn respectively.
Look forward to your reply.

@ZhouYanzhao
Copy link
Owner

Hi @dingjiansw101
The OR-CNN defined in demo.py is used in our MNIST experiments. For CIFAR10/100 experiments, please refer to this model definition.

@dingjiansw101
Copy link
Author

dingjiansw101 commented Jul 28, 2018

On the construct of my OR-Resnet, I can get a normal accuracy if I do not do random rotation operation on the test set. But when I random rotate the test images, it got low accuracy.

Can you give an implementation for pytorch? I am not sure what's wrong with my code.

Have you tried to do original --> rot experiments on mnist for resnet or vgg?

@ZhouYanzhao
Copy link
Owner

Hi @dingjiansw101,

  1. I can port the CIFAR experiment after I upgrade the pytorch implementation. But it won't be available in the near future.
  2. No. The models we used in the MNIST experiment are specified in the Fig.5 of the paper.

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

2 participants