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

制作HDF5数据请教 #33

Closed
ustcluq opened this issue Mar 11, 2018 · 5 comments
Closed

制作HDF5数据请教 #33

ustcluq opened this issue Mar 11, 2018 · 5 comments

Comments

@ustcluq
Copy link

ustcluq commented Mar 11, 2018

请问制作hdf5数据的时候,1)、像素减均值了吗?
2)、另外特征点的坐标需要归一化吗?

可以方便给一个制作源码吗,谢谢!

@qiexing
Copy link
Owner

qiexing commented Mar 11, 2018

@ustcluq 都有。可以看下这个https://github.com/qiexing/caffe-regression/blob/master/kaggle_fkp_data/kfkd.py 文件,第30行和35行。

@ustcluq
Copy link
Author

ustcluq commented Mar 12, 2018

好的,非常感谢大神赐教!
我把数据按照您的方法做好后,loss一直是9.2左右,从一开始迭代就是这个值,我把测试结果打出来看了一下,输出的每张图像136个值都一样,并且在图像上显示的全是人脸最中间的一列。我把lr从0.1依次改到0.0000001都不行,请大神再指导一下呗,万分感谢!!

@qiexing
Copy link
Owner

qiexing commented Mar 12, 2018

@ustcluq 可以参考下#24

@ustcluq
Copy link
Author

ustcluq commented Mar 12, 2018

@qiexing 谢谢这么快回复!
我照着您说的改了,效果还是那样。我正在尝试其他方法~

@ustcluq
Copy link
Author

ustcluq commented Mar 13, 2018

@qiexing 我加了预训练模型,现在已经收敛,多谢!

@ustcluq ustcluq closed this as completed Mar 13, 2018
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