Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
cleardusk committed Jan 26, 2019
1 parent 5798374 commit ddf71eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

def main(args):
# 1. load pre-tained model
checkpoint_fp = 'models/phase1_wpdc_vdc_v2.pth.tar'
checkpoint_fp = 'models/phase1_wpdc_vdc.pth.tar'
arch = 'mobilenet_1'

checkpoint = torch.load(checkpoint_fp, map_location=lambda storage, loc: storage)['state_dict']
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ First, you should download the cropped testset ALFW and ALFW-2000-3D in [test.da
Next, run the benchmark code by providing trained model path.
I have already provided five pre-trained models in `models` directory (seen in below table). These models are trained using different loss in the first stage. The model size is about 13M due to the high efficiency of MobileNet-V1 structure.
```
python3 ./benchmark.py -c models/phase1_wpdc_vdc_v2.pth.tar
python3 ./benchmark.py -c models/phase1_wpdc_vdc.pth.tar
```
The performances of pre-trained models are shown below. In the first stage, the effectiveness of different loss is in order: WPDC > VDC > PDC. While the strategy using VDC to finetune WPDC achieves the best result.
Expand Down

0 comments on commit ddf71eb

Please sign in to comment.