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:
18
export_and_test.bat
Normal file
18
export_and_test.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
echo ============================================
|
||||
echo Build FP16 480p using Ultralytics export
|
||||
echo (includes required metadata)
|
||||
echo ============================================
|
||||
|
||||
call conda activate yolo
|
||||
|
||||
echo [1/2] Export FP16 480p engine with metadata...
|
||||
yolo export model=yolo11n.pt format=engine imgsz=480 device=0 half=True
|
||||
|
||||
echo.
|
||||
echo [2/2] Test FP16 480p...
|
||||
yolo val model=yolo11n.engine data=coco.yaml imgsz=480 batch=1 device=0 classes=0,1,2,3,5,7 > fp16_480_results.txt 2>&1
|
||||
|
||||
echo.
|
||||
echo Done. Run: python parse_simple.py
|
||||
pause
|
||||
Reference in New Issue
Block a user