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
It seems that you do not transpose the data after reading from h5 file. The data in MATLAB is organized in (H, W, C, N). However, after reading it from h5 file in Python, it is organized in a reverse setting: (N, C, W, H). And PyTorch needs (N, C, H, W). So is it necessary to transpose the data? Thanks!
The text was updated successfully, but these errors were encountered:
Hi @IanYeung. Since rotation/flipping are applied as augmentation, and the patch is in squared shape, it actually makes not difference between (N, C, W, H) and (N, C, H, W). Please let me know if you find the transposition could help improve the performance.
It seems that you do not transpose the data after reading from h5 file. The data in MATLAB is organized in (H, W, C, N). However, after reading it from h5 file in Python, it is organized in a reverse setting: (N, C, W, H). And PyTorch needs (N, C, H, W). So is it necessary to transpose the data? Thanks!
The text was updated successfully, but these errors were encountered: