Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwei16 committed Apr 26, 2019
1 parent 001dbf4 commit cff33cc
Show file tree
Hide file tree
Showing 108 changed files with 12,975 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ To reproduce the results in our paper, we have provided the models trained from

2. Training and Test

For face detection, CSP is required to predict both height and width of each instance with various aspect ratios. You can follow the [./train_wider.py](./train_wider.py) to start training and [./test_wider_ms.py](./test_wider_ms.py) for multi-scale test. As a common practice, the model trained on the official training set is evaluated on both validation and test set, and the results are submitted to [WiderFace](http://mmlab.ie.cuhk.edu.hk/projects/WIDERFace/). To reprodect the result in the benchmark, we provide the model for Height+Width+Offset prediction in [model_CSP/widerface/](https://pan.baidu.com/s/1SSPQnbDP6zf9xf8eCDi3Fw).
For face detection, CSP is required to predict both height and width of each instance with various aspect ratios. You can follow the [./train_wider.py](./train_wider.py) to start training and [./test_wider_ms.py](./test_wider_ms.py) for multi-scale test. As a common practice, the model trained on the official training set is evaluated on both validation and test set, and the results are submitted to [WiderFace](http://mmlab.ie.cuhk.edu.hk/projects/WIDERFace/). To reproduce the result in the benchmark, we provide the model for Height+Width+Offset prediction in [model_CSP/widerface/](https://pan.baidu.com/s/1SSPQnbDP6zf9xf8eCDi3Fw).

Note that we adopt the similar data-augmentation strategy for training and multi-scale testing in [PyramidBox](https://arxiv.org/pdf/1803.07737.pdf), which helps us to achieve better performance in this benchmark.

Expand Down
Binary file added data/cache/caltech/test
Binary file not shown.
Binary file added data/cache/caltech/train_gt
Binary file not shown.
Binary file added data/cache/caltech/train_nogt
Binary file not shown.
Binary file added data/cache/cityperson/train_h50
Binary file not shown.
Binary file added data/cache/cityperson/val_500
Binary file not shown.
14 changes: 14 additions & 0 deletions data/cache/widerface/note.txt~
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
filter w>=5 and h>=5
train:
12880 images and 12880 valid images and 159424 boxes
12880 images and 12876 valid images and 154301 boxes

val:
3226 images and 3226 valid images and 39708 boxes

test:
16097 images




320 changes: 320 additions & 0 deletions data/cache/widerface/test

Large diffs are not rendered by default.

Binary file added data/cache/widerface/train
Binary file not shown.
Binary file added data/cache/widerface/val
Binary file not shown.
Binary file added eval_caltech/AS.mat
Binary file not shown.
Binary file added eval_caltech/ResultsEval/gt-new/gt-Reasonable.mat
Binary file not shown.
Loading

0 comments on commit cff33cc

Please sign in to comment.