He Lanqi

Results 4 comments of He Lanqi

我刚刚也遇到了这个问题,看来只能先不用stdp了

之前的代码使用了文字文本,现改成代码文本方便查看: ![image](https://github.com/fangwei123456/spikingjelly/assets/66475096/17a28c79-d72f-4ce6-9435-fe217c9f0ea5) 输出如下: ![image](https://github.com/fangwei123456/spikingjelly/assets/66475096/28d2c1dc-e4fb-498c-a8ab-17cd393e3115) 形状为torch.Size([4]),并不是预期的(32,4)

model.fc如下: ![image](https://github.com/fangwei123456/spikingjelly/assets/66475096/21bc5618-1992-4b61-8520-a4f98cbe628f)

已经修复了,我把monitor_v和monitor_o的两行代码改成: ![image](https://github.com/fangwei123456/spikingjelly/assets/66475096/fe1cc559-e145-4af7-9805-f8446196f39e) 就好了,很神奇,但原理未知