mobilenetv1_resnet50_distillation.yaml 471 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
version: 1.0
distillers:
    l2_distiller:
        class: 'L2Distiller'
        teacher_feature_map: 'res50_fc_0.tmp_0'
        student_feature_map: 'fc_0.tmp_0'
        distillation_loss_weight: 1
strategies:
    distillation_strategy:
        class: 'DistillationStrategy'
B
Bai Yifan 已提交
11
        distillers: ['l2_distiller']
12 13 14 15 16 17 18
        start_epoch: 0
        end_epoch: 130
compressor:
    epoch: 130
    checkpoint_path: './checkpoints/'
    strategies:
        - distillation_strategy