Skip to content

Commit

Permalink
added docs for eval
Browse files Browse the repository at this point in the history
  • Loading branch information
anxiangsir committed May 14, 2021
1 parent b4e687d commit 9b98685
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions recognition/arcface_torch/docs/eval.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
## IFRT

coming soon.


## Eval IJBC
You can eval ijbc with pytorch or onnx.


1. Eval IJBC With Onnx
```shell
CUDA_VISIBLE_DEVICES=0 python onnx_ijbc.py --model-root ms1mv3_arcface_r50 --image-path IJB_release/IJBC --result-dir ms1mv3_arcface_r50
```

2. Eval IJBC With Pytorch
```shell
# model-prefix your model path
# image-path your IJBC path
# result-dir your result path
# network your backbone
CUDA_VISIBLE_DEVICES=0,1 python eval_ijbc.py \
--model-prefix ms1mv3_arcface_r50/backbone.pth \
--image-path IJB_release/IJBC \
Expand All @@ -15,6 +24,3 @@ CUDA_VISIBLE_DEVICES=0,1 python eval_ijbc.py \
--network iresnet50
```

## Eval MegaFace
pass

0 comments on commit 9b98685

Please sign in to comment.