MAISI Inference Quality Issue #1791
-
Hi, I've tried using maisi_diff_unet_training_tutorial.ipynb to inference the diffusion model but the result doesn't seem good.
unet_3d_seed20070_size128x128x128_spacing1.00x1.25x0.75_20240817231813.nii.gz I've also tried using spacing [1.0, 1.0, 0.75], but the result still doesn't seem good.
unet_3d_seed3966_size128x128x128_spacing1.00x1.00x0.75_20240820010733.nii.gz It would be great if you could let me know if there's any issue in my inference steps. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Thank you for reaching out! The overall FOV, which is decided by output_size and spacing, is small in the given setting. The FOV here only covers part of the body region in xy-plane, while our training data covers the whole body in xy-plane. We could try a larger output_size or a larger spacing. |
Beta Was this translation helpful? Give feedback.
-
We added description on recommended FOV in a recent PR #1789 |
Beta Was this translation helpful? Give feedback.
-
Hi Can, It works for [256, 256, 256] with [2, 2, 2.5] spacing (FOV: [512mm, 512mm, 640mm]): It also works for [256, 256, 256] with [1, 1, 1.5] spacing (FOV: [256mm, 256mm, 384mm]): But not works for [128, 128, 128] with [4, 4, 4.5] spacing (FOV: [512mm, 512mm, 576mm]): I believe the failure might not only result from the FOV. The model seems to only work when the output size is set to [256, 256, 256]. Best, |
Beta Was this translation helpful? Give feedback.
-
@guopengf @dongyang0122 It seems to me that [128,128,128] is a setting that tends to produce low quality results. Do we have any thoughts on this? |
Beta Was this translation helpful? Give feedback.
We added description on recommended FOV in a recent PR #1789