-
Notifications
You must be signed in to change notification settings - Fork 973
/
ResNet50_face.yaml
44 lines (39 loc) · 1.12 KB
/
ResNet50_face.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Global:
model: ResNet50_face
mode: check_dataset # check_dataset/train/evaluate/predict
dataset_dir: "/paddle/dataset/paddlex/cls/face_rec_examples"
device: gpu:0,1,2,3
output: "output"
CheckDataset:
convert:
enable: False
src_dataset_type: null
split:
enable: False
train_percent: null
val_percent: null
Train:
num_classes: 995
epochs_iters: 25
batch_size: 64
learning_rate: 0.004
feature_dim: 512
arcmargin_m: 0.5
arcmargin_s: 64
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ResNet50_face_pretrained.pdparams
warmup_steps: 1
resume_path: null
log_interval: 1
eval_interval: 1
save_interval: 1
Evaluate:
weight_path: "output/best_model/best_model.pdparams"
log_interval: 1
Export:
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ResNet50_face_pretrained.pdparams
Predict:
batch_size: 1
model_dir: "output/best_model/inference"
input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/face_recognition_001.jpg"
kernel_option:
run_mode: paddle