bic-L / Masked-Spiking-Transformer

[ICCV-23] Masked Spiking Transformer
24 stars 1 forks source link

The effects of neuromorphic datasets #6

Closed lxhwyj closed 5 months ago

lxhwyj commented 7 months ago

Dear bic-L, Thank you for your work and open source code. I recently read the related paper "Masked Spiking Transformer" which provides the effects of neuromorphic datasets in your paper. I would appreciate it if you could provide the code to do the ANN-SNN conversion on neuromorphic datasets.

bic-L commented 7 months ago

Hi, Did you mean the data loader part?

bic-L commented 7 months ago

We will update the code shortly, but adding a convolution layer for channel alignment as shown in Figure 4 of the main paper also works. The dataloader for the experiments can be found in another repository of ours: https://github.com/bic-L/burst-ann2snn/blob/main/dataset.py. Please let me know if you have any other questions!

Thanks

lxhwyj commented 7 months ago

I might have phrased my previous message incorrectly. I would like to replicate your work on implementing neuromorphic datasets through ANN-SNN transformations. Could you please provide the code for loading the data and the training process?

bic-L commented 7 months ago

Hi,

We may update the repository in a couple of days, but are currently working to meet a deadline. The dataloader can be found in https://github.com/bic-L/burst-ann2snn/blob/main/dataset.py. The training code is the same, while the main difference is in the model settings, which is shown in Figure 4 of the main paper. Hope this helps.