UAT 322 Artificial Intelligence and Autonomous Unmanned Aircraft Systems Integration Laboratory
Worksheet 4 Measuring a detector on the real board
Objective
Deploy a detector on the companion computer, measure quantization's effect on accuracy and time, and produce a model card
Equipment and materials
- The lab's companion computer board
- Detector from UAT 315
- ONNX Runtime
- Real-work images for calibration and evaluation
- Board temperature and power monitoring
- Lab notebook
Safety
- Bench work; no flying
- The board can get hot under sustained load; fit a heatsink or fan and do not touch it running
- Use images without identifiable outsiders, or with permission
Steps
- Export to ONNX and check outputs match the original on the same images
- Apply static quantization with ONNX Runtime using real-work calibration images
- Evaluate accuracy before and after quantization
- On the real board, warm up at least 10 runs then time model-only and end-to-end over 400 runs to CSV
- Compute p95 with Example 2 against the per-frame budget; record temperature and power
- Write a one-page model card with stop criteria
Record of results
| Model version | Numeric precision | Largest difference from the original | Accuracy metric and value | Evaluation images (count, lighting) |
|---|---|---|---|---|
| Version | Model-only median (ms) | End-to-end mean (ms) | End-to-end p95 (ms) | Frames over budget (%) | Distance at 8 m/s during p95 (m) |
|---|---|---|---|---|---|
| Time from start (min) | Version running | Temperature (°C) | Power (W) | Notes (e.g. slowdown) |
|---|---|---|---|---|
Questions
From Table 2, does the INT8 version meet the per-frame budget at 30 fps? If it misses slightly, what options are there, and which did your group choose?
Why report end-to-end p95 rather than mean inference time? Show the difference with your group's numbers.
How much did accuracy in Table 1 drop after quantization, and how did your model card set its stop criterion?
Why can the manufacturer's TOPS figure or times measured on a PC not replace measurement on the real board?
Check before you hand in
What to hand in
- ONNX versus original output table
- FP32 versus INT8 accuracy table
- CSV and p95 against the budget
- One-page model card