yhhhli / SNN_Calibration

Pytorch Implementation of Spiking Neural Networks Calibration, ICML 2021
MIT License
83 stars 14 forks source link

SNN simulation length parameter seems unused during calibration #3

Open annahambi opened 2 years ago

annahambi commented 2 years ago

Dear @yhhhli

This is an awesome repository and thank you so much for publishing it.

My question/ issue is regarding the parameter --T for the SNN calibration: In the code of the CIFAR SNN calibration it seems that the SNN simulation length is hardcoded to sim_length = 32 (line 71) and the args.T parameter is unused.

Can you comment on this? Because in your table of results you mention T=16. How do you achieve this to be used during testing (not necessarily calibration itself)?

yhhhli commented 2 years ago

Hi @annahambi ,

Thank you for your interest. Sorry for the hardcoding of time steps, we will correct this next time we update the code repo.