UAT 462 Edge Artificial Intelligence for UAS
Worksheet 1 Mission requirements and platform shortlist
Objective
Set measurable mission requirements, compute the minimum frame rate, count the model's cost, use the roofline and shortlist platforms with figures checked at the manufacturers and by measurement
Equipment and materials
- Manufacturers' specification pages for at least three boards the department has
- A computer with Python and NumPy and the example code at /downloads/uat-462/
- The layer table of the model the group chose
Safety
- Desk work, no flying
- Record figures from the manufacturer's page with URL and date checked; do not use figures from sources that cannot be checked
- Use only image data that is permitted and shows no identifiable person
Steps
- Read the manufacturers' pages and make a specification table, noting dense or sparse and the numeric precision of the TOPS
- Compute the mission's minimum frame rate with Example 1 from the group's GSD, speed and overlap, then write measurable requirements
- Edit the layer table in Example 2 to the group's model and count MACs, parameters and peak activations at int8 and float32
- Check whether it fits each board's memory and find the largest input that fits
- Write a NumPy script that measures the working machine's memory bandwidth and compute rate, then compute its ridge
- Compute the roofline of each board (Example 3), name the memory-bound layers, then write a one-page platform note
Record of results
| Board | Compute (TOPS or GHz) and numeric precision | Dense or sparse | Memory and bandwidth | Power or power modes | URL and date checked |
|---|---|---|---|---|---|
| Quantity | Formula or code used | Value | Unit |
|---|---|---|---|
| Layer | Operations (ops) | Bytes read and written | Arithmetic intensity (ops/byte) | Memory-bound or compute-bound | Minimum time (ms) |
|---|---|---|---|---|---|
Questions
How many times lower is the group's minimum frame rate than the camera's 30 fps? If the requirement followed the camera, how would the board choice, mass and energy change?
If the model's weights fit the MCU's flash, why can the MCU still not be used? Explain with the peak activation memory in Table 2 and the object size in pixels when the input is reduced.
From Table 3, which layers are memory-bound? If you bought a board with twice the TOPS but the same bandwidth, would those layers get faster? Why?
Does the group's roofline time tell you the real time on the board? What work is not counted, and what must the group measure in the next module?
Check before you hand in
What to hand in
- Specification table with sources and dates checked
- Measurable mission requirements with the minimum frame rate
- Model-cost table and memory-fit result
- A one-page platform note with what still has to be measured