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 am using your HyperDenseNet with 2 modalities (T1 and Flair). It trains and the validation runs also. When the validation is done, I receive an error which involves calculating dsc. The error is as follows:
Dear @josedolz,
I am using your HyperDenseNet with 2 modalities (T1 and Flair). It trains and the validation runs also. When the validation is done, I receive an error which involves calculating dsc. The error is as follows:
** in inference(network, moda_n, moda_g, imageNames, epoch, folder_save, number_modalities)
100
101 dsc = evaluateSegmentation(gt,bin_seg)
--> 102 dscAll[i_s, :] = dsc
103
104 return dscAll
ValueError: could not broadcast input array from shape (2) into shape (1)**
Can you help me solve this error?
Kind regards,
Heather
The text was updated successfully, but these errors were encountered: