Pytorch_Retinaface icon indicating copy to clipboard operation
Pytorch_Retinaface copied to clipboard

人脸姿态估计+人脸检测+五点检测 1个网络实现

Open gengyanlei opened this issue 4 years ago • 18 comments
trafficstars

image backbone=resnet50 image

gengyanlei avatar Dec 11 '20 06:12 gengyanlei

你好,这个思路值得借鉴,有相应的链接吗? @gengyanlei

qinxianyuzi avatar Dec 17 '20 06:12 qinxianyuzi

@qinxianyuzi 1.采用hopenet模型对widerface数据集进行姿态预标注 2.参考retinaface口罩分支 重新训练,即可

gengyanlei avatar Dec 17 '20 06:12 gengyanlei

角度是90度还是180度,对于角度突变导致的loss增大您是怎么处理的呀?还是采用smooth l1做loss吗? @gengyanlei

qinxianyuzi avatar Dec 17 '20 08:12 qinxianyuzi

@qinxianyuzi 不懂你的意思? 借鉴的hopenet的loss!

gengyanlei avatar Dec 18 '20 00:12 gengyanlei

采用hopenet模型对widerface数据集进行姿态预标注

你的口罩的分支怎么训练的,可以分享一下idea么?是增加一个branch专门做口罩的property输出,还是num_class改成人脸,口罩两个类型?

stevenluzheng123456 avatar Feb 01 '21 12:02 stevenluzheng123456

加1个类似口罩的分支,用于姿态估计,并且加1个mosaic操作!

gengyanlei avatar Feb 02 '21 02:02 gengyanlei

恩,有道理,你是吧MAFA的数据做了mosaic吧

stevenluzheng123456 avatar Feb 02 '21 13:02 stevenluzheng123456

@qinxianyuzi 我采用的是hopenet的loss函数,没有修改; @stevenluzheng123456 基于widerface的数据进行操作的

gengyanlei avatar Feb 03 '21 01:02 gengyanlei

moscaic的操作会造成人脸的distortion,这个会对性能有影响么?

On Tue, Feb 2, 2021 at 2:11 AM gengyanlei [email protected] wrote:

加1个类似口罩的分支,用于姿态估计,并且加1个mosaic操作!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/biubug6/Pytorch_Retinaface/issues/145#issuecomment-771295501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHBG4GDGE47UCBM5NFBDATS45NNDANCNFSM4UWEK5YQ .

--

[image: Employee profile] Steven Lu Senior Researcher Research Team

M +447712148438 E [email protected] [email protected] W www.anyvision.co

Tel: 02890737904

stevenluzheng123456 avatar Feb 09 '21 14:02 stevenluzheng123456

@stevenluzheng123456 我舍弃了一部分操作,只在batch=8时精度提升明显,其它均下降,原因是因为mosaic操作,没有精确设计!

gengyanlei avatar Feb 18 '21 01:02 gengyanlei

@stevenluzheng123456 @qinxianyuzi 测试代码,权重都在这里了 https://github.com/gengyanlei/Pytorch_Retinaface

gengyanlei avatar Feb 18 '21 09:02 gengyanlei

How about your experiment for mosaic?

alicera avatar Jun 05 '21 12:06 alicera

Yes, mosaic was performing well , especially for small face detection, but my mosaic method is slightly different, I didn't jeopardize the ratio of image, I concatenate 20-100 small single images into a big image.

On Sat, Jun 5, 2021 at 1:18 PM alicera @.***> wrote:

How about your experiment for mosaic?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biubug6/Pytorch_Retinaface/issues/145#issuecomment-855232001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHBG4DBHROWMQW7Q4LDSP3TRIIYXANCNFSM4UWEK5YQ .

--

[image: Employee profile] Steven Lu Senior Researcher Research Team

M +447712148438 E @.*** @.***> W www.anyvision.co

Tel: 02890737904

stevenluzheng123456 avatar Jun 06 '21 09:06 stevenluzheng123456

对于mosaic,我没有直接拿来使用,而是根据人脸的情况,适当的选取部分操作

gengyanlei avatar Jun 07 '21 02:06 gengyanlei

Thanks for your reply How many percentage get the improve?

alicera avatar Jun 07 '21 03:06 alicera

要如何增加mosaic在retinaface 上? 我增加了但会遇到 out-of-memory的问题

alicera avatar Jun 12 '21 02:06 alicera

@alicera

  1. 提点1.2个百分点,由于我是人脸合并后降低,然后采用mosaic提升了,从93.4%->94.43%,原始为94.8%
  2. mosaic我没有设置合理,应该还可以提升,这个需要一些经验。

gengyanlei avatar Jun 16 '21 07:06 gengyanlei

關於增加一个branch专门做口罩的 但我發現驗證上根本沒有甚麼差別 差距0.5%

alicera avatar Jun 17 '21 04:06 alicera