-
Notifications
You must be signed in to change notification settings - Fork 201
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
axes don't match array error while training #11
Comments
Hi @svabhishek29 did you resolve this issue? |
yes, i did find where the problem was. it was in the if i remember right the issues was in one of the the 3 if conditions starting at line 417.
I realised that i needed it to behave a bit differently so i wrote my own code, did not fix that problem specifically. sorry i can't be of much help. |
Actually I am having some difficulty on getting the code to run on the dataset (Luna16). Could you very kindly clear a few queries for me? Thanks in advance. |
Hi,
I was playing around with the code to better understand how things work. when i was trying to train the luna 16 images i keep getting the error 'axes don't match array' on the line
for batch_idx, (data, target) in enumerate(trainLoader):
in both train_nll and train_dice.
i normalised the images using normalise function in the torchbiomed library with 512, 512, 500, 0.7 as parameters for normalisation.
i am not understanding why i am getting this error hence not able to fix it.
it'll be a great help if you can help me get past this point.
Thanks
Abhishek Venkataram
The text was updated successfully, but these errors were encountered: