bamsumit / slayerPytorch

PyTorch implementation of SLAYER for training Spiking Neural Networks
GNU General Public License v3.0
305 stars 91 forks source link

How to generate train.txt and test.txt #93

Open surabhi-Siemens opened 1 year ago

surabhi-Siemens commented 1 year ago

Hi, I have downloaded the dataset from the link https://research.ibm.com/interactive/dvsgesture/ and then executed the script ibmGestureTrain.py. This script is expecting train.txt and test.txt. How to create these file? Please guide me. I am new to this topic

bamsumit commented 1 year ago

@surabhi-Siemens you will need to preprocess the aedat files in the link above. Here is an example script to do that: https://github.com/bamsumit/slayerPytorch/issues/37#issuecomment-680762632

ALternatively, you can use this version of dataset directly: https://tonic.readthedocs.io/en/latest/reference/generated/tonic.datasets.DVSGesture.html#tonic.datasets.DVSGesture