Add YOLO11 TensorRT quantization benchmark scripts
- Engine build scripts (FP16/INT8) - Benchmark validation scripts - Result parsing and analysis tools - COCO dataset configuration
This commit is contained in:
20
build_fp16_640.bat
Normal file
20
build_fp16_640.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ============================================
|
||||
echo Building FP16 640p TensorRT Engine
|
||||
echo ============================================
|
||||
echo.
|
||||
|
||||
call conda activate yolo
|
||||
|
||||
echo Building engine...
|
||||
trtexec --onnx=yolo11n.onnx --saveEngine=yolo11n_fp16_640.engine --explicitBatch --fp16 --workspace=4096 --builderOptimizationLevel=4 --profilingVerbosity=detailed --optShapes=input:4x3x640x640 --maxShapes=input:8x3x640x640 --useCudaGraph --useSpinWait --noTF32
|
||||
|
||||
if %errorlevel% equ 0 (
|
||||
echo.
|
||||
echo [SUCCESS] FP16 640p Engine: yolo11n_fp16_640.engine
|
||||
) else (
|
||||
echo [FAILED] FP16 640p Engine build failed
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user