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

Where does mean/std deviation come from? #41

Open
carsonswope opened this issue Nov 30, 2020 · 4 comments
Open

Where does mean/std deviation come from? #41

carsonswope opened this issue Nov 30, 2020 · 4 comments

Comments

@carsonswope
Copy link

For each dataset, there are files called <dataset>_mean.npy and <dataset>_std.npy. For example, icvl_mean.npy and icvl_std.npy.

These appear to be the mean and standard deviation of something, and they are used in the preprocessing step of input images. Can anyone explain where these numbers come from and how they would affect using one of the pretrained models in a realtime situation?

@zhangboshen
Copy link
Owner

@carsonswope Hi,
you can refer to this dissscusion #29 for more details of mean/std computation.
And, for the question of how the mean/std affect real time situation, honestly, I dont know, some kind of weird flex might appears with the inappropriate mean/std params, because mean/std is dataset specified, generalization ability of these parms may not be guaranteed.

@yangsen228
Copy link

@zhangboshen Hello,
I have the same concern about the mean/std value in the real-time situation. If I wanna use your method in a real-time application, what should I do? Can I just retrain the model and remove the mean&std during preprocessing?
Thanks!

@zhangboshen
Copy link
Owner

@yangsen228 You are right, current mean/std parameters are sensitive to cameras. I guess the possible solution is to retrain the model for specific scenarios. And, remove the mean&std during preprocessing can make the regression problem even harder, there might be larger training errors.

@logic03
Copy link

logic03 commented Mar 18, 2021

@zhangboshen Hello,
I have the same concern about the mean/std value in the real-time situation. If I wanna use your method in a real-time application, what should I do? Can I just retrain the model and remove the mean&std during preprocessing?
Thanks!

Have you solve the problem that use this model in you own depth image or video?

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