New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: The size of tensor a (3) must match the size of tensor b (6) at non-singleton dimension 2 #6
Comments
Can you please add more description for this error ? For which dataset and which model are you getting this bug ? |
i used the LIST data to train the model. got the .pth. then i run the val.py.( i did not change any parameters in parameter.py ,except those paths). Then i got the bug of models.py in line 602. "The size of tensor a (3) must match the size of tensor b (6) at non-singleton dimension 2". i tried to change the "size" of parameter.py to 8, there is no bug, but the results(pred.nii) seems bad. other size will result to similar bug. i also change the "size" of paramter.py to 24 when i run the train.py, cause i got similar bugs too. |
yes,i have the same problem. the output size (1024) is not the same size as label(512) |
Trying to run train.py in LiTS folder after successfully run get_training_set.py in data_prepare, but got the following error when using kiunet_org as net in model.py: |
I have the same problem with running (almost) any of the models on my own data: |
I have the same problem,So how to solve it? |
Have same problem kiunet_org. |
I have the same issue has anybody solved it |
The same problem arose when I use kiunet_org for training |
Did you guys solve the problem? |
|
No description provided.
The text was updated successfully, but these errors were encountered: