Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about grayscale range of data #3

Open
weilongMao opened this issue Nov 29, 2022 · 6 comments
Open

about grayscale range of data #3

weilongMao opened this issue Nov 29, 2022 · 6 comments

Comments

@weilongMao
Copy link

Is there any requirement for the grayscale range of data?
Do I need to normalize the data to [0,1] ?
Thank you very much!

@DeweiHu
Copy link
Owner

DeweiHu commented Nov 29, 2022 via email

@eat-orange1
Copy link

Hello, I see that your code normalizes the data to [-1,1], so how do you say normalize to [0,1]

@DeweiHu
Copy link
Owner

DeweiHu commented Jul 8, 2023

Hi, I updated the normalization code earlier this year, it will normalize the intensity to [-1,1] now.

@eat-orange1
Copy link

Thank you very much for your answer. I am also using normalization to [-1,1]. During the training process, I used a noisy OCT image with a size of 512 * 512, but the loss did not decrease or converge during the training process. Do you know the reason.

@DeweiHu
Copy link
Owner

DeweiHu commented Jul 17, 2023

Hi, I uploaded a checkpoint of my model in the folder ckpts. I normalized my instensity range to [1,3] when training this model. You can try if it works for you.

@Koid217
Copy link

Koid217 commented Jul 19, 2023

非常感谢您的回答。我也使用规范化来 [-1,1]。在训练过程中,我使用了大小为 512 * 512 的噪声 OCT 图像,但在训练过程中损失没有减少或收敛。你知道原因吗。

Hello, I have such a problem now, do you know the reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants