# S3FD.pytorch **Repository Path**: vantablack/S3FD.pytorch ## Basic Information - **Project Name**: S3FD.pytorch - **Description**: SFD implement with pytorch - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## S³FD: Single Shot Scale-invariant Face Detector ## A PyTorch Implementation of Single Shot Scale-invariant Face Detector ### Description Meanwhile train hand and head with S3FD,hand dataset is [Egohands Dataset](http://vision.soic.indiana.edu/projects/egohands/),head dataset is [SCUT-HEAD](https://github.com/HCIILAB/SCUT-HEAD-Dataset-Release),we can download [hand model](https://pan.baidu.com/s/1_d4HqioBJknGj2ypwtYaXg) and [face model](https://pan.baidu.com/s/1epyTAUc6qSt3oZ7veK4oEw) ### Requirement * pytorch 0.3 * opencv * numpy * easydict ### Prepare data 1. download WIDER face dataset、Egohands dataset and SCUT-HEAD 2. modify data/config.py 3. ``` python prepare_wider_data.py ``` 4 ``` python prepare_handataset.py ``` ### Train We can choose different dataset to train different target[face,head,hand] ``` python train.py --batch_size 4 --dataset face\hand\head ``` ### Evalution according to yourself dataset path,modify data/config.py 1. Evaluate on AFW. ``` python afw_test.py ``` 2. Evaluate on FDDB ``` python fddb_test.py ``` 3. Evaluate on PASCAL face ``` python pascal_test.py ``` 4. test on WIDER FACE ``` python wider_test.py ``` ### Demo you can test yourself image ``` python demo.py ``` ### Result 1. AFW PASCAL FDDB