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

Image normalization for feature extraction #44

Open
despotovic opened this issue Jan 23, 2024 · 1 comment
Open

Image normalization for feature extraction #44

despotovic opened this issue Jan 23, 2024 · 1 comment

Comments

@despotovic
Copy link

First of all, thank you very much for the excellent work!

When using CTransPath for feature extraction, you normalize with the following image statistics:
mean = (0.485, 0.456, 0.406)
std = (0.229, 0.224, 0.225)

Are this mean and standard deviation of the dataset used for pretraining the model? Should I adapt this with the mean and standard deviation of my own dataset when doing feature extraction?

@Xiyue-Wang
Copy link
Owner

Yes,used for pretraining the model

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

2 participants