InsightFace_Pytorch icon indicating copy to clipboard operation
InsightFace_Pytorch copied to clipboard

Did you reproduce megaface ?

Open twmht opened this issue 6 years ago • 27 comments

Hi

Did you reproduce megaface result on pytorch?

thank you

twmht avatar Dec 17 '18 03:12 twmht

no, you can have a try

TreB1eN avatar Dec 17 '18 04:12 TreB1eN

@TreB1eN

I tried mobilenet, but can't reproduce the paper's result (92%)

My result is only 87%

twmht avatar Dec 17 '18 05:12 twmht

I don't have clue about training Megaface, normally there are a lot of noises in the training set, how about try use emore dataset pretrained model here to test in Megaface test set ? See what is the accuracy ?

TreB1eN avatar Dec 17 '18 06:12 TreB1eN

@TreB1eN

I did not train on megaface, I trained on refine MS-1M and test on megaface. Did you try to do that?

twmht avatar Dec 17 '18 09:12 twmht

I haven't

TreB1eN avatar Dec 17 '18 09:12 TreB1eN

@twmht

can you tell us your acc on cfp-fp by res50, mine is 87.5%

ruiming46zrm avatar Dec 18 '18 01:12 ruiming46zrm

0.9504 CFP-FP(%) by IR-SE50, pretrained model are provided

TreB1eN avatar Dec 18 '18 01:12 TreB1eN

0.9504 CFP-FP(%) by IR-SE50, pretrained model are provided

training refined-ms1m ,I can get LFW 99.52% but can't get cfp-fp so well , maybe something wrong.

ruiming46zrm avatar Dec 18 '18 01:12 ruiming46zrm

@TreB1eN

Did you trained on refined-ms1m on IR-SE50?

twmht avatar Dec 18 '18 02:12 twmht

@ruiming46zrm

Did you use this code without modification? I haven't tested cfp-fp yet.

twmht avatar Dec 18 '18 02:12 twmht

@twmht yes

TreB1eN avatar Dec 18 '18 02:12 TreB1eN

@twmht yes, ok

ruiming46zrm avatar Dec 18 '18 02:12 ruiming46zrm

@TreB1eN

I can help to test the provided model in megaface.

twmht avatar Dec 18 '18 02:12 twmht

@twmht will you share mega test code if it's convenient~ ?

ruiming46zrm avatar Dec 18 '18 02:12 ruiming46zrm

@ruiming46zrm

most of testing code is from insightface. Did you tried to reproduce the result on insightface?

twmht avatar Dec 18 '18 03:12 twmht

@twmht thanks, I don't know much about the megaface, I'm gonna try.

ruiming46zrm avatar Dec 18 '18 05:12 ruiming46zrm

@TreB1eN and @ruiming46zrm

I just tried @TreB1eN 's provided resnet50 pretrained weight, but only got 90% on megaface.

but from deepinsight (https://github.com/deepinsight/insightface), they provide resnet50 which can get 97.64% on megaface.

since this is a huge gap, there might be some issues with pytorch implementation.

twmht avatar Dec 18 '18 08:12 twmht

@TreB1eN

in addition, mobilenet only got 74% on megaface.

twmht avatar Dec 18 '18 13:12 twmht

provided resnet50 get 91.6% on megaface, my training only 89.9%

ruiming46zrm avatar Dec 25 '18 01:12 ruiming46zrm

@twmht will you share mega test code if it's convenient~ ? mainly gen_megaface.py for pytorch version,thanks a lot

yangyuke001 avatar Jan 05 '19 06:01 yangyuke001

@yangyuke001 I have one , what's your weichat?

ruiming46zrm avatar Jan 07 '19 00:01 ruiming46zrm

yangyuke001

At 2019-01-07 08:23:09, "ruiming46zrm" [email protected] wrote:

@yangyuke001 I have one , what's your weichat?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

yangyuke001 avatar Jan 09 '19 06:01 yangyuke001

yangyuke001 At 2019-01-07 08:23:09, "ruiming46zrm" [email protected] wrote: @yangyuke001 I have one , what's your weichat? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

user name unexist , mine is : ruiming46zrm

ruiming46zrm avatar Jan 11 '19 01:01 ruiming46zrm

Hello @ruiming46zrm, @twmht

The mega test code has to load a trained model and do inference, i mean it can not be tested during training, right? Then i have a question, this repo saves model per few iters, however, the best accuracy on different dataset may not always the same saved model. Shall we just take the best accuracy on each dataset as the final performance?

cvtower avatar Jul 30 '19 07:07 cvtower

Hi, Do we need to normalize the images of Facescrub and Megaface before feeding them to the model to get features? Thank you for reading.

ghost avatar Sep 20 '19 13:09 ghost

@TreB1eN and @ruiming46zrm

I just tried @TreB1eN 's provided resnet50 pretrained weight, but only got 90% on megaface.

but from deepinsight (https://github.com/deepinsight/insightface), they provide resnet50 which can get 97.64% on megaface.

since this is a huge gap, there might be some issues with pytorch implementation.

Could you share the test configs of MegaFace? Such as select how many images as galleryset?

gaow0007 avatar Jan 08 '20 06:01 gaow0007

@TreB1eN and @ruiming46zrm I just tried @TreB1eN 's provided resnet50 pretrained weight, but only got 90% on megaface. but from deepinsight (https://github.com/deepinsight/insightface), they provide resnet50 which can get 97.64% on megaface. since this is a huge gap, there might be some issues with pytorch implementation.

Could you share the test configs of MegaFace? Such as select how many images as galleryset?

Could you share Megaface dataset since its stopping supported in their website. And I would like to test on it too. Thanks!

HulkMaker avatar May 11 '20 14:05 HulkMaker