You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facetorch is a Python library that can detect faces and analyze facial features using deep neural networks. The goal is to gather open sourced face analysis models from the community, optimize them for performance using TorchScript and combine them to create a face analysis tool that one can:
11
14
@@ -23,7 +26,10 @@ The models are not perfect and may be biased.
* paper: [RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild](https://openaccess.thecvf.com/content_CVPR_2020/html/Deng_RetinaFace_Single-Shot_Multi-Level_Face_Localisation_in_the_Wild_CVPR_2020_paper.html)
* paper: [Deng et al. - RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild](https://openaccess.thecvf.com/content_CVPR_2020/html/Deng_RetinaFace_Single-Shot_Multi-Level_Face_Localisation_in_the_Wild_CVPR_2020_paper.html)
77
83
78
84
79
85
### Predictor
@@ -137,8 +143,8 @@ analyzer
137
143
138
144
## Development
139
145
Run the Docker container:
140
-
* CPU: ```docker compose -f docker-compose.dev.yml run facetorch-dev bash```
141
-
* GPU: ```docker compose -f docker-compose.dev.yml run facetorch-dev-gpu bash```
146
+
* CPU: ```docker compose -f docker-compose.dev.yml run facetorch-dev```
147
+
* GPU: ```docker compose -f docker-compose.dev.yml run facetorch-dev-gpu```
142
148
143
149
### Add predictor
144
150
#### Prerequisites
@@ -172,10 +178,10 @@ the requirements of the new model.
172
178
2. Write a test for the new predictor in ```/tests/test_<predictor_name>.py```
173
179
174
180
#### Test and submit
175
-
1. Run linting test: ```flake8 --config=.flake8```
I want to thank the open source code community and the researchers who have published the models. This project would not be possible without their work.
0 commit comments