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
I try to run the model using movingmnist but failed, it shows "RuntimeError: The size of tensor a (7) must match the size of tensor b (4) at non-singleton dimension 3", I checked the dataset and make sure that the number of pictures can be envely divisible. Could you please tell me why?
The text was updated successfully, but these errors were encountered:
This error is caused by mismatch of two tensor sizes, so it is needed to check debugging at that point. If the input is properly given (refer to dataset section in README.md), no error occurs with the code.
Thank you for your reply!
Last few days I tried to figure out the errors and had run the code successfully.Next I will use my own dataset, thanks again for your code and your reply!
---Original---
From: "Sangmin ***@***.***>
Date: Tue, Dec 7, 2021 14:10 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [sangmin-git/LMC-Memory] Fail to run the movingmnist (Issue #13)
This error is caused by mismatch of two tensor sizes, so it is needed to check debugging at that point. If the input is properly given (refer to dataset section in README.md), no error occurs with the code.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
I try to run the model using movingmnist but failed, it shows "RuntimeError: The size of tensor a (7) must match the size of tensor b (4) at non-singleton dimension 3", I checked the dataset and make sure that the number of pictures can be envely divisible. Could you please tell me why?
The text was updated successfully, but these errors were encountered: