You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users who want to use SpikingJelly should first be familiar with the usage of PyTorch.
If you do not know much about PyTorch, we recommend that the user can learn the basic tutorials of PyTorch.
Do not ask for help with the basic conception of PyTorch/Machine Learning but not related to SpikingJelly. For these questions, please refer to Google or PyTorch Forums.
For faster response
You can @ the corresponding developers for your issue. Here is the division:
ValueError: expected x with shape [T, N, C, L], but got x with shape torch.Size([3, 256, 20])!
问题
奇怪的是,在单步模式下,输入大小为[N, C],程序可以正常运行,多步模式下将输入扩展为[T, N, C]就会发生上述报错,提示期望的输入大小为 [T, N, C, L],这是为什么呢,不应该是 [T, N, C]吗?单步模式下的输入为[N, C],多步不应该为[T, N, C]吗?
上述问题在AdaptiveAvgPool1d与BatchNorm1d都存在,单步可以运行,但多步需要多一个L维度,请问这是为什么?怎样解决?谢谢!
The text was updated successfully, but these errors were encountered:
Read before creating a new issue
For faster response
You can @ the corresponding developers for your issue. Here is the division:
Yanqi-Chen
Yanqi-Chen
Lyu6PosHao
lucifer2859
AllenYolk
Lyu6PosHao
DingJianhao
Yanqi-Chen
fangwei123456
We are glad to add new developers who are volunteering to help solve issues to the above table.
Issue type
SpikingJelly version
0.0.0.0.14
Description
...
Minimal code to reproduce the error/bug
报错
问题
奇怪的是,在单步模式下,输入大小为[N, C],程序可以正常运行,多步模式下将输入扩展为[T, N, C]就会发生上述报错,提示期望的输入大小为 [T, N, C, L],这是为什么呢,不应该是 [T, N, C]吗?单步模式下的输入为[N, C],多步不应该为[T, N, C]吗?
上述问题在AdaptiveAvgPool1d与BatchNorm1d都存在,单步可以运行,但多步需要多一个L维度,请问这是为什么?怎样解决?谢谢!
The text was updated successfully, but these errors were encountered: