PaddleSlim
PaddleSlim copied to clipboard
yolov5离线量化报错
----------- Running Arguments ----------- arch: YOLOv5 dataset_dir: /mnt/data01/luoshiyong/data/liugang model_dir: /mnt/data01/luoshiyong/code/PaddleSlim-release-2.5/yolov5out/best.onnx skip_tensors: None train_anno_path: annotations/instances1_train.json train_image_dir: images/train val_anno_path: annotations/instances1_val.json val_image_dir: images/val
loading annotations into memory...
Done (t=0.22s)
creating index...
index created!
I0626 11:09:01.155823 541758 interpretercore.cc:237] New Executor is Running.
2024-06-26 11:09:01,300-INFO: Loaded model from: /mnt/data01/luoshiyong/code/PaddleSlim-release-2.5/yolov5out/best_infer
Wed Jun 26 11:09:01-INFO: Load model and set data loader ...
Wed Jun 26 11:09:01-WARNING: The old way to load inference model is deprecated. Please specify path_prefix. model path: /mnt/data01/luoshiyong/code/PaddleSlim-release-2.5/yolov5out/best_infer/model.pdmodel, params path: /mnt/data01/luoshiyong/code/PaddleSlim-release-2.5/yolov5out/best_infer/model.pdiparams
W0626 11:09:01.377684 541758 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 12.2, Runtime API Version: 11.6
W0626 11:09:01.419098 541758 gpu_resources.cc:149] device: 0, cuDNN Version: 8.4.
Wed Jun 26 11:09:05-INFO: Collect quantized variable names ...
Sampling stage, Run batch:| | 0/32
Traceback (most recent call last):
File "post_quant.py", line 98, in