mobilenet_v2.yaml 601 字节
Newer Older
1 2 3 4 5
version: 1.0
strategies:
    quantization_strategy:
        class: 'QuantizationStrategy'
        start_epoch: 0
6
        end_epoch: 29
7 8 9 10 11 12 13 14 15
        float_model_save_path: './output/mobilenet_v2/float'
        int8_model_save_path: './output/mobilenet_v2/int8'
        weight_bits: 8
        activation_bits: 8
        weight_quantize_type: 'abs_max'
        activation_quantize_type: 'moving_average_abs_max'
        save_in_nodes: ['image']
        save_out_nodes: ['fc_0.tmp_2']
compressor:
16
    epoch: 30
17 18 19
    checkpoint_path: './checkpoints/mobilenet_v2/'
    strategies:
        - quantization_strategy