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
The error message "Expected 5-dimensional input for 5-dimensional weight [8, 3, 3, 3, 3], but got 4-dimensional input of size [4, 384, 128, 48] instead" indicates that there is a mismatch between the expected input dimensions (5-dimensional) and the actual input dimensions provided (4-dimensional).
#34
Open
Wuchen057 opened this issue
Feb 21, 2024
· 2 comments
After replacing the getitem method in line 77 of the file lib->medloaders>mrbrains2018.py with the following code, the error disappears and the training can proceed normally.
Hello, after correcting this mistake, I successfully trained the MRBrainS model. However, when I ran inference, I encountered an error: FileNotFoundError: [Errno 2] No such file or directory: './datasets/mrbrains_2018/training/mrbrains_2018-classes-4-list-train-samples-1.txt'. My training data was downloaded from the official website. How can I obtain this txt file?
After replacing the getitem method in line 77 of the file lib->medloaders>mrbrains2018.py with the following code, the error disappears and the training can proceed normally.
The text was updated successfully, but these errors were encountered: