facebookresearch / fastMRI

A large-scale dataset of both raw MRI measurements and clinical MRI images.
https://fastmri.org
MIT License
1.32k stars 374 forks source link

train_unet_demo produces wrong image #289

Closed khlee0192 closed 1 year ago

khlee0192 commented 1 year ago

I am working on applying different loss functions on unet module.

To do that, I tried to run train_unet_demo.py file with channel of 128 (the leaderboard code has 256, but I had to decrease channels due to GPU memory)

However, tested images comes out to be very strange. Providing my image and ground truth image, my image seems to have some kind of shape but not the exact type.

I tried to fix this by changing color map or manually calculating pixel values, but did not work well. Could you give any idea to solve this issue?

스크린샷 2023-03-03 오후 12 25 21 스크린샷 2023-03-03 오후 12 25 37
khlee0192 commented 1 year ago

Though I reported this issue as bug, I think it would be problem on my code.