mlech26l / ncps

PyTorch and TensorFlow implementation of NCP, LTC, and CfC wired neural models
https://www.nature.com/articles/s42256-020-00237-3
Apache License 2.0
1.86k stars 297 forks source link

Questions about the input dimension #44

Closed wyl121 closed 1 year ago

wyl121 commented 1 year ago

Hi, I have a very confusing problem in my recent reproduction work, my data shape is number_frames x 160 x 320 x 3, my applied some convolution before NCP, but it keeps reporting error that the dimension needed by the model will always be one more than the dimension I input and the error will not match, I think the first dimension of my data is the dimension represented by time, I I would like to know if you have any suggestions for me on this problem.Looking forward to your reply!

mlech26l commented 1 year ago

Can you provide some code to reproduce the error?

wyl121 commented 1 year ago

Hi, I have to thank you for your guidance, I saw someone asked this kind of question earlier and I found out that it was because my data was missing the time dimension and the input dimensions didn't match, thank you for your advice, it's really lucky for a beginner like me.