lucidrains / med-seg-diff-pytorch

Implementation of MedSegDiff in Pytorch - SOTA medical segmentation using DDPM and filtering of features in fourier space
MIT License
199 stars 29 forks source link

why is # inputs are normalized from 0 to 1 #20

Closed FeifanFu closed 6 months ago

FeifanFu commented 6 months ago

Hello, thank you for your open source project. I am a beginner and would like to ask you, segmented_imgs = torch.rand(8, 1, 128, 128) # inputs are normalized from 0 to 1, whether segmented_imgs is the label of image segmentation, if it is pixel two classification, whether segmented_imgs is only Contains two values ​​0, 1, why is # inputs are normalized from 0 to 1, if you can answer this question, I will be grateful!