2021-06-04 23:23:23 +08:00
|
|
|
Global:
|
2021-06-18 17:44:04 +08:00
|
|
|
infer_imgs: "./images/wangzai.jpg"
|
|
|
|
rec_inference_model_dir: "./models/product_ResNet50_vd_aliproduct_v1.0_infer"
|
2021-06-04 23:23:23 +08:00
|
|
|
batch_size: 1
|
|
|
|
use_gpu: False
|
2021-07-14 13:58:45 +08:00
|
|
|
enable_mkldnn: True
|
|
|
|
cpu_num_threads: 10
|
2021-06-04 23:23:23 +08:00
|
|
|
enable_benchmark: True
|
|
|
|
use_fp16: False
|
|
|
|
ir_optim: True
|
|
|
|
use_tensorrt: False
|
|
|
|
gpu_mem: 8000
|
|
|
|
enable_profile: False
|
|
|
|
|
|
|
|
RecPreProcess:
|
|
|
|
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: ''
|
|
|
|
- ToCHWImage:
|
|
|
|
|
2021-12-06 16:14:00 +08:00
|
|
|
RecPostProcess: null
|