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

How do you set L of QCFS to find ANN accuracy reported in your paper? #3

Open
MusheerAbdullah opened this issue Oct 2, 2023 · 3 comments

Comments

@MusheerAbdullah
Copy link

Hope you are doing well Sir,
I have a question please, hope you could help me with it.

For example in "Table 2: Comparison between the proposed method and previous works on CIFAR-10 dataset"
In VGG16 : ANN acc = 95.52%, What is "L" value in QCFS to get this accuracy ? How do you select "L" value?
and when you test converted SNN model with T= (2,4,8,16,...) and get accuracy of (91.18, 93.96, 94.95, 95.40,... ), do you set their ANN counterparts based on L=T, then train, convert and simulate? or same ANN model with your optimal "L" value is simulated with different simulation time T in SNN?

Waiting for your response, thank you

@putshua
Copy link
Owner

putshua commented Oct 2, 2023

Hello,
I often set L=4 for cifar10, cifar100 and L=8 for ImageNet (Please refer to the paper for all parameter settings). There is a trade off between ANN accuracy and SNN low-timestep performance when choosing different L. Also, it is not necessary to set T=L during inference. I think these is more detailed discussion about L in the paper.
Thanks for your attention.

@MusheerAbdullah
Copy link
Author

Thank you so much for your response, I appreciate it !
Just want to know, the result in your paper says : ANN acc = 95.52%, on VGG16, Cifar10. do you get this result by setting L=4 or L=8 ?
because I cannot get this accuracy at L=4, I can only get it when L=8 ?
could you confirm, please

@putshua
Copy link
Owner

putshua commented Oct 3, 2023

It's the result with L=4. I have reported the performance on my machine with the default settings and fixed seed in this repo. I am not sure why you cannot reproduce these results. Could you please download the lastest version and try again with all default settings? Please let me know if there is still unreproducable problem. Thanks.

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