docs: bird-classifier card lists the Edge TPU build
Browse files
animalClassification/bird-classifier/README.md
CHANGED
|
@@ -10,7 +10,23 @@
|
|
| 10 |
| Code licence | Apache-2.0 |
|
| 11 |
| **Weights licence** | Apache-2.0 ([`LICENSES/Apache-2.0.txt`](../../LICENSES/Apache-2.0.txt)) |
|
| 12 |
| Training data | not stated upstream |
|
| 13 |
-
| CamStack modifications | converted from TensorFlow with tf2onnx; OpenVINO IR and CoreML derived from the ONNX |
|
| 14 |
| Commercial use | permitted by Apache-2.0 |
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
CamStack redistributes the files in this folder; every change from the upstream is stated above. Converting a model does not change its licence. The collection statement is [`LICENSE`](../../LICENSE); every model's attribution is in [`THIRD_PARTY_MODELS.md`](../../THIRD_PARTY_MODELS.md).
|
|
|
|
| 10 |
| Code licence | Apache-2.0 |
|
| 11 |
| **Weights licence** | Apache-2.0 ([`LICENSES/Apache-2.0.txt`](../../LICENSES/Apache-2.0.txt)) |
|
| 12 |
| Training data | not stated upstream |
|
| 13 |
+
| CamStack modifications | converted from TensorFlow with tf2onnx; OpenVINO IR and CoreML derived from the ONNX; the Edge TPU build (`tflite/`) is the Google full-integer quantised TFLite of the same model, compiled with `edgetpu_compiler` 14 |
|
| 14 |
| Commercial use | permitted by Apache-2.0 |
|
| 15 |
|
| 16 |
+
## Formats
|
| 17 |
+
|
| 18 |
+
| Format | File | Notes |
|
| 19 |
+
| --- | --- | --- |
|
| 20 |
+
| ONNX | `onnx/bird-classifier.onnx` (+ `bird-classifier-labels.json`) | fp32, NHWC, input `x/255` |
|
| 21 |
+
| OpenVINO IR | `openvino/bird-classifier.{xml,bin}` | from the ONNX |
|
| 22 |
+
| CoreML | `coreml/bird-classifier.mlpackage` | from the ONNX |
|
| 23 |
+
| Coral Edge TPU | `tflite/bird-classifier_edgetpu.tflite` | full-integer uint8; input raw 0..255 RGB (scale 1/128, zero point 128 in the graph); output `[1,965]` uint8 softmax, scale 1/256 — dequantise, do not re-softmax. All 65 operations on the Edge TPU, 3.75 MiB of parameter cache |
|
| 24 |
+
|
| 25 |
+
The Edge TPU file is built from `mobilenet_v2_1.0_224_inat_bird_quant.tflite`
|
| 26 |
+
(google-coral/test_data commit `104342d2`, sha256 `350fcd8c…04f9`) by
|
| 27 |
+
`scripts/build-bird-classifier-edgetpu.py` in the CamStack repository. Every
|
| 28 |
+
compile writes a fresh random parameter-cache token, so a rebuild differs from
|
| 29 |
+
this file in those 16 bytes only. Labels: the ONNX folder's labels file (same
|
| 30 |
+
965 entries, same order).
|
| 31 |
+
|
| 32 |
CamStack redistributes the files in this folder; every change from the upstream is stated above. Converting a model does not change its licence. The collection statement is [`LICENSE`](../../LICENSE); every model's attribution is in [`THIRD_PARTY_MODELS.md`](../../THIRD_PARTY_MODELS.md).
|