inference_person_exists.yaml 781 字节
Newer Older
C
cuicheng01 已提交
1
Global:
2 3
  infer_imgs: "./images/PULC/person_exists/objects365_02035329.jpg"
  inference_model_dir: "./models/person_exists_infer"
C
cuicheng01 已提交
4 5
  batch_size: 1
  use_gpu: True
C
cuicheng01 已提交
6
  enable_mkldnn: False
C
cuicheng01 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
  cpu_num_threads: 10
  enable_benchmark: True
  use_fp16: False
  ir_optim: True
  use_tensorrt: False
  gpu_mem: 8000
  enable_profile: False

PreProcess:
  transform_ops:
    - ResizeImage:
        resize_short: 256
    - CropImage:
        size: 224
    - NormalizeImage:
        scale: 0.00392157
        mean: [0.485, 0.456, 0.406]
        std: [0.229, 0.224, 0.225]
        order: ''
        channel_num: 3
    - ToCHWImage:

PostProcess:
W
weisy11 已提交
30 31
  main_indicator: ThreshOutput
  ThreshOutput:
32
    threshold: 0.5
C
cuicheng01 已提交
33 34
    label_0: nobody
    label_1: someone
C
cuicheng01 已提交
35 36
  SavePreLabel:
    save_dir: ./pre_label/