PaddleClas/deploy/cpp/tools/config.txt

18 lines
306 B
Plaintext
Raw Normal View History

2020-10-19 13:05:34 +08:00
# model load config
use_gpu 0
gpu_id 0
gpu_mem 4000
2021-08-31 20:52:17 +08:00
cpu_threads 10
2020-10-19 13:05:34 +08:00
use_mkldnn 1
2020-12-15 19:22:13 +08:00
use_tensorrt 0
use_fp16 0
2020-10-19 13:05:34 +08:00
# cls config
cls_model_path /PaddleClas/inference/cls_infer.pdmodel
cls_params_path /PaddleClas/inference/cls_infer.pdiparams
2020-10-19 13:05:34 +08:00
resize_short_size 256
crop_size 224
2021-08-31 20:52:17 +08:00
# for log env info
benchmark 0