ali-rasteh / spikingjelly-develop

Other
1 stars 0 forks source link

Why do not use OneSpikeIFNode in the output layer? #2

Open fangwei123456 opened 3 years ago

fangwei123456 commented 3 years ago

https://github.com/ali-rasteh/spikingjelly-develop/blob/278d5d7ed50a62181d75422f18fce3eab789f403/run/main.py#L54

tmasquelier commented 3 years ago

Good question! Maybe because Ali wanted to compare to spike-count-based decisions?

ali-rasteh commented 3 years ago

@fangwei123456 : For latency based there shouldn't be any difference between 'IFNode' and 'OneSpikeIFNode' but exactly as Tim said I wanted to compare different methods using a same code! Maybe we can write main code better if we use 'OneSpikeIFNode' in the output layer. It makes me happy if you have any better idea.