From 17f41e9776c8e81dbfa869d4b3744cb48e59c0a4 Mon Sep 17 00:00:00 2001 From: Jia Guo Date: Sun, 20 Jun 2021 00:03:37 +0800 Subject: [PATCH 1/3] Update README.md --- challenges/iccv21-mfr/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/challenges/iccv21-mfr/README.md b/challenges/iccv21-mfr/README.md index f18dcc1..3b1bd0c 100644 --- a/challenges/iccv21-mfr/README.md +++ b/challenges/iccv21-mfr/README.md @@ -36,7 +36,7 @@ In this challenge, we will evaluate the accuracy of following testsets: We ensure that there's no overlap between these testsets and public available training datasets, as they are not collected from online celebrities. -Our test datasets mainly comes from [IFRT](https://github.com/deepinsight/insightface/tree/master/challenges/IFRT). +Our test datasets mainly comes from [IFRT](../ifrt). ### ``Mask test-set:`` @@ -113,7 +113,7 @@ Inference time was evaluated on Tesla V100 GPU, using onnxruntime-gpu==1.6. * Sub-Track A: Use MS1M-V3 as training set, download: [ref-link](https://github.com/deepinsight/insightface/tree/master/challenges/iccv19-lfr), feature length must <= 512, and the inference time must <= 10ms on Tesla V100 GPU. * Sub-Track B: Use Glint360K as training set, download: [ref-link](https://github.com/deepinsight/insightface/tree/master/recognition/partial_fc), feature length must <= 1024, and the inference time must <= 20ms on Tesla V100 GPU. 2. Training set and testing set are both aligned to 112x112, re-alignment is prohibited. -3. Mask data-augmentation is allowed, such as [this](https://github.com/deepinsight/insightface/tree/master/recognition/tools). The applied mask augmentation tool should be reproducible. +3. Mask data-augmentation is allowed, such as [this](../../recognition/_tools_). The applied mask augmentation tool should be reproducible. 4. External dataset and pretrained models are both prohibited. 5. Participants submit onnx model, then get scores by our online evaluation. Test images are invisible. 6. Matching score is measured by cosine similarity. @@ -128,9 +128,9 @@ Inference time was evaluated on Tesla V100 GPU, using onnxruntime-gpu==1.6. ## Tutorial -1. ArcFace-PyTorch (with Partial-FC), [code](https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch), [tutorial-cn](https://github.com/deepinsight/insightface/blob/master/challenges/iccv21-mfr/tutorial_pytorch_cn.md) -2. OneFlow, [code](https://github.com/deepinsight/insightface/tree/master/recognition/oneflow_face) -3. MXNet, [code](https://github.com/deepinsight/insightface/tree/master/recognition/ArcFace) +1. ArcFace-PyTorch (with Partial-FC), [code](../../recognition/arcface_torch), [tutorial-cn](tutorial_pytorch_cn.md) +2. OneFlow, [code](../../recognition/oneflow_face) +3. MXNet, [code](../../recognition/arcface_mxnet) ## Submission Guide From 7b438157353a503afb4eb7442a0d12c4eb09b36b Mon Sep 17 00:00:00 2001 From: Jia Guo Date: Sun, 20 Jun 2021 00:06:19 +0800 Subject: [PATCH 2/3] Update README.md --- recognition/_tools_/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recognition/_tools_/README.md b/recognition/_tools_/README.md index 98a8a97..4f5face 100644 --- a/recognition/_tools_/README.md +++ b/recognition/_tools_/README.md @@ -11,9 +11,9 @@ We can use this tool to do data augmentation while training our face recognition | Face Image | OP | Mask Image | Out | | ------- | ------ | --------- | ----------- | -| face | +F | mask | mask | -| face | +F | mask | mask | -| face | +H | mask | mask | +| face | +F | mask | mask | +| face | +F | mask | mask | +| face | +H | mask | mask | **F** means FULL while **H** means HALF. @@ -50,7 +50,8 @@ tool.prepare(ctx_id=0, det_size=(128,128)) #use gpu (2) load face and mask images ``` -image = cv2.imread("../../deploy/Tom_Hanks_54745.png") +from insightface.data import get_image as ins_get_image +image = ins_get_image('Tom_Hanks_54745') mask_image = "mask_blue" ``` From a10e5e42fb32dec5da99cca88ac374189533bcde Mon Sep 17 00:00:00 2001 From: Jia Guo Date: Sun, 20 Jun 2021 00:17:10 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index efdda62..bfb8e81 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,9 @@ InsightFace efficiently implements a rich variety of state of the art algorithms ### ArcFace Video Demo -[![ArcFace Demo](https://insightface.ai/assets/img/github/facerecognitionfromvideo.PNG)](https://www.youtube.com/watch?v=y-D1tReryGA&t=81s) + +[](https://www.youtube.com/watch?v=y-D1tReryGA&t=81s) + Please click the image to watch the Youtube video. For Bilibili users, click [here](https://www.bilibili.com/video/av38041494?from=search&seid=11501833604850032313).