{"id":13627578,"url":"https://github.com/yangfly/sfd.gluoncv","last_synced_at":"2025-04-17T00:32:04.614Z","repository":{"id":131255399,"uuid":"153710828","full_name":"yangfly/sfd.gluoncv","owner":"yangfly","description":"Reproduce SFD face detector using gluon-cv","archived":false,"fork":false,"pushed_at":"2019-01-06T12:01:57.000Z","size":1807,"stargazers_count":23,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-01T22:40:47.547Z","etag":null,"topics":["face-detector","gluoncv","mxnet","sfd"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yangfly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-10-19T01:43:31.000Z","updated_at":"2021-10-18T10:19:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9e08c6d-8338-41b0-8d26-e1d59e3a20b3","html_url":"https://github.com/yangfly/sfd.gluoncv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangfly%2Fsfd.gluoncv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangfly%2Fsfd.gluoncv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangfly%2Fsfd.gluoncv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangfly%2Fsfd.gluoncv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yangfly","download_url":"https://codeload.github.com/yangfly/sfd.gluoncv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223735035,"owners_count":17194030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["face-detector","gluoncv","mxnet","sfd"],"created_at":"2024-08-01T22:00:35.936Z","updated_at":"2024-11-08T18:30:41.286Z","avatar_url":"https://github.com/yangfly.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"Vision\"\u003e\u003c/a\u003e2. Vision"],"sub_categories":["2.5 Face Detection and Recognition"],"readme":"## Description\nThis work is to reproduce S³FD, a real-time Single Shot Scale-invariant Face Detector.\n![](demo.png)\n\n## Environment\n* [mxnet](https://github.com/apache/incubator-mxnet) 1.3.0\n* [gluon-cv](https://github.com/dmlc/gluon-cv) 0.4.0\n* [MobulaOP](https://github.com/wkcn/MobulaOP) required to build custom c++ operator\n\n## Preparation\n\n```\n# install MobulaOP following: https://github.com/wkcn/MobulaOP\n$$ git clone https://github.com/yangfly/sfd.gluoncv.git\n$$ cd sfd.gluoncv\n```\n\n## Training your own model\n1. download [wider face](http://mmlab.ie.cuhk.edu.hk/projects/WIDERFace/) dataset into `widerface/downloads/`\n    ```\n    $$ tree widerface/downloads\n    widerface/downloads\n    ├── eval_tools.zip\n    ├── Submission_example.zip\n    ├── wider_face_split.zip\n    ├── WIDER_test.zip\n    ├── WIDER_train.zip\n    └── WIDER_val.zip\n    ```\n2. Parpare data: unzip data, annotations and eval_tools\n    ```\n    $$ python tool/parpare.py\n    $$ tree widerface -L 1\n    widerface\n    ├── downloads\n    ├── eval_tools\n    ├── wider_face_split\n    ├── WIDER_train\n    └── WIDER_val\n    ```\n3. Prepare custom val dataset for quick validation (crop and resize to 640)\n    ```\n    $$ python tool/build_custom_val.py\n    $$ tree widerface -L 1\n    widerface\n    ├── downloads\n    ├── eval_tools\n    ├── WIDER_custom\n    ├── wider_face_split\n    ├── WIDER_train\n    └── WIDER_val\n    ```\n4. train vgg16 based sfd with 4 gpus\n    ```\n    $$ python sfd/train.py\n    ```\n    more supported base models in `sfd/nn/sfd.py`\n5. demo\n    ```\n    $$ python sfd/demo.py --model models/vgg16/sfd_best.params\n    ```\n6. eval on WIDER_val\n    ```\n    $$ python sfd/eval.py --model models/vgg16/sfd_best.params\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangfly%2Fsfd.gluoncv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyangfly%2Fsfd.gluoncv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangfly%2Fsfd.gluoncv/lists"}