config.txt 265 字节
Newer Older
1 2 3 4 5 6 7 8
# model load config
use_gpu  0
gpu_id  0
gpu_mem  4000
cpu_math_library_num_threads  10
use_mkldnn 1

# cls config
9 10
cls_model_path  /PaddleClas/inference/cls_infer.pdmodel
cls_params_path /PaddleClas/inference/cls_infer.pdiparams
11 12
resize_short_size 256
crop_size 224