face_attribute_classification_pytorch
face_attribute_classification_pytorch copied to clipboard
face attribute classification based on pytorch
Face attribute classification based on pytorch
In this repository, we implement the face attribute classification method based on pytorch according to Adaptively Weighted Multi-task Deep Network for Person Attribute Classific
The official caffe code is https://github.com/qiexing/adaptive_weighted_attribute
[Paper]
Results
| methods | test mean accuracy |
|---|---|
| resnet50 | 90.479 |
| resnet50+adaptive weight | 90.845 |
Download trained model
baiduyun: https://pan.baidu.com/s/18HLplvoyhp1RntQXiR84rA password:4zk4
Test
- python test.py --img_path {target_image_path}
Train
-
Download img_celeba_aligned dataset
-
python train.py --input_path {img_celeba_aligned_path}