Downloads · 30 days
6
17% of all-time downloads
HaohuaLv/retina-backbone_resnet50-ft_widerface
retina-backbone_resnet50-ft_widerface is a machine learning model from HaohuaLv. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
A retinaface model for Face Detection trained on widerface dataset.
Downloads · 30 days
6
17% of all-time downloads
All-time downloads
35
Public
Repo size
223 MB
Likes
0
Public
Click a slice to open those files.
.bin111 MB · 98%
From the Hugging Face model README
A retinaface model for Face Detection trained on widerface dataset.
Notice: This is face detection model's training, evaluation and inference scripts in HuggingFace🤗 style from scratch for practice.
Run
python train.py --model_config_file <MODEL_CONFIG_FILE>
<MODEL_CONFIG_FILE> can be found in folder config.
Model checkpoints will be saved in folder checkpoints by default.
backbone-ResNet50 checkpoint can be download in my Google Drive or HuggingFace🤗.
Run
python inference.py --checkpoint_path <CHECKPOINT_PATH>
<CHECKPOINT_PATH> is a model folder containing config.json and pytorch_model.bin.
Run
python detect.py --checkpoint_path <CHECKPOINT_PATH> --image_path <IMAGE_PATH> --save_path <SAVE_PATH>
