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
Hi! I've successfully trained and tested MedSAM on my own dataset following your tutorial. However, I'm having trouble converting the segmented npz files back into nii files. For example, as shown in the figures below, the first image is the ground truth, and the second image is the prediction. The organ and tumor are misaligned. ChatGPT couldn't help much. Could you provide a Python script to convert npz files to nii files? Any guidance or references would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I've successfully trained and tested MedSAM on my own dataset following your tutorial. However, I'm having trouble converting the segmented npz files back into nii files. For example, as shown in the figures below, the first image is the ground truth, and the second image is the prediction. The organ and tumor are misaligned. ChatGPT couldn't help much. Could you provide a Python script to convert npz files to nii files? Any guidance or references would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions