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

mean and std #10

Open
zhanglaplace opened this issue Feb 27, 2019 · 2 comments
Open

mean and std #10

zhanglaplace opened this issue Feb 27, 2019 · 2 comments

Comments

@zhanglaplace
Copy link

你好,多谢你的分享,我这边在安卓端跑成功了。但是每次需要计算一次图像的均值与方差,这个比较耗时。模型训练的时候没有指定固定的均值与方差吗?还有一个问题需要请教下:
1、原始的人脸区域图像作为ncnn输入,计算mean和vars,在进行ncnn的from_pixels_resize
2、原始的人脸区域resize为60*60 ,计算均值与方差,在进行ncnn的from_pixels,两种方式是不是第二种方式更符合训练流程?

@panda-lab
Copy link
Owner

你可以测试一下,当时ncnn刚出来,我试着跑了一下,没有深入研究,我也看一下哪种好。

@zhanglaplace
Copy link
Author

@lsy17096535 嗯,好的,用图片体验了下,感觉没有啥区别。:expressionless:

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