spkeras
spkeras copied to clipboard
Low accuracy with bitwidth = 32
Hello @Dengyu-Wu , We are attempting to convert VGG16 network to snn, but are getting low accuracies whenever signed_bit is set to anything other than 0 (including 32, all other params unchanged). Please let us know if you've faced this issue before, or if it could be something on our end.
Output for Signed_bit = 0 :
{'timesteps': 256, 'thresholding': 0.5, 'amp_factor': 100, 'signed_bit': 0, 'spike_ext': 0, 'epsilon': 0.001, 'use_bias': True, 'scaling_factor': 1, 'noneloss': False, 'method': 1} 313/313 [==============================] - 35s 111ms/step - loss: 1624.8730 - accuracy: 0.7886
Output for Signed_bit = 32 :
{'timesteps': 256, 'thresholding': 0.5, 'amp_factor': 100, 'signed_bit': 32, 'spike_ext': 0, 'epsilon': 0.001, 'use_bias': True, 'scaling_factor': 1, 'noneloss': False, 'method': 1} 313/313 [==============================] - 39s 125ms/step - loss: 375521.1562 - accuracy: 0.1000
Thanks and regards, Madhav