ppq
ppq copied to clipboard
yolov5量化,在ppq/samples/yolo中运行02_Quantization.py文件出现警告和报错,输出模型只有onnx没有engine文件
[Info] You are exporting PPQ Graph to TensorRT(Onnx + Json). Please Compile the TensorRT INT8 engine manually:
from ppq.utils.TensorRTUtil import build_engine build_engine(onnx_file='Quantized.onnx', int8_scale_file='Quantized.json', engine_file='Quantized.engine', int8=True)
Traceback (most recent call last):
File "E:\BaiduNetdiskDownload\Data\ppq-master\ppq\samples\Yolo\02_Quantization.py", line 51, in
Process finished with exit code 1