用的是服务端车辆数据
python3 python/build_gallery.py -c configs/build_vehicle.yaml -o IndexProcess.data_file="./recognition_demo_data_v1.1/gallery_vehicle/data_file.txt" -o IndexProcess.index_dir="./recognition_demo_data_v1.1/gallery_vehicle/index_all"
2021-12-22 14:52:55 INFO:
===========================================================
== PaddleClas is powered by PaddlePaddle ! ==
===========================================================
== ==
== For more info please go to the following website. ==
== ==
== https://github.com/PaddlePaddle/PaddleClas ==
===========================================================
2021-12-22 14:52:55 INFO: Global :
2021-12-22 14:52:55 INFO: batch_size : 32
2021-12-22 14:52:55 INFO: cpu_num_threads : 10
2021-12-22 14:52:55 INFO: enable_benchmark : True
2021-12-22 14:52:55 INFO: enable_mkldnn : True
2021-12-22 14:52:55 INFO: enable_profile : False
2021-12-22 14:52:55 INFO: gpu_mem : 8000
2021-12-22 14:52:55 INFO: ir_optim : True
2021-12-22 14:52:55 INFO: rec_inference_model_dir : ./models/vehicle_cls_ResNet50_CompCars_v1.0_infer/
2021-12-22 14:52:55 INFO: use_fp16 : False
2021-12-22 14:52:55 INFO: use_gpu : True
2021-12-22 14:52:55 INFO: use_tensorrt : False
2021-12-22 14:52:55 INFO: IndexProcess :
2021-12-22 14:52:55 INFO: data_file : ./recognition_demo_data_v1.1/gallery_vehicle/data_file.txt
2021-12-22 14:52:55 INFO: delimiter :
2021-12-22 14:52:55 INFO: dist_type : IP
2021-12-22 14:52:55 INFO: embedding_size : 512
2021-12-22 14:52:55 INFO: image_root : ./recognition_demo_data_v1.1/gallery_vehicle/
2021-12-22 14:52:55 INFO: index_dir : ./recognition_demo_data_v1.1/gallery_vehicle/index_all
2021-12-22 14:52:55 INFO: index_method : HNSW32
2021-12-22 14:52:55 INFO: index_operation : new
2021-12-22 14:52:55 INFO: RecPostProcess : None
2021-12-22 14:52:55 INFO: RecPreProcess :
2021-12-22 14:52:55 INFO: transform_ops :
2021-12-22 14:52:55 INFO: ResizeImage :
2021-12-22 14:52:55 INFO: size : 224
2021-12-22 14:52:55 INFO: NormalizeImage :
2021-12-22 14:52:55 INFO: mean : [0.485, 0.456, 0.406]
2021-12-22 14:52:55 INFO: order :
2021-12-22 14:52:55 INFO: scale : 0.00392157
2021-12-22 14:52:55 INFO: std : [0.229, 0.224, 0.225]
2021-12-22 14:52:55 INFO: ToCHWImage : None
E1222 14:52:55.915828 17768 analysis_config.cc:91] Please compile with gpu to EnableGpu()
100%|██████████████████████████████████████████| 15/15 [00:00<00:00, 285.78it/s]
Intel MKL function load error: cpu specific dynamic library is not loaded.