Repository navigation
Models and portable Linux app with Fast — 2026-11-04
Private sharing release for the ITRI626 electronic-component classifier, built from main at 2f8483b.
What is in it
- The x86_64 Linux desktop app with five models: A (scratch CNN), B (ConvNeXt-Tiny), C (SigLIP + linear head), Deployed (fused SigLIP, calibrated, answers "Unsure" below 50%) and Fast, new in this release. Fast is the Deployed model at 308 px, INT8 in weights and activations, for NVIDIA TensorRT. It has the same development-fold accuracy as Deployed (0.8268) and runs about 9 times faster on the GPU.
- 68 credited demo photos in four sections: Hand-picked (20), Random (40, drawn with a fixed seed from the web holdout), Hard cases (5) and Not a component / abstains (3).
- CPU onnxruntime, launchers for ordinary Linux and NixOS, and third-party licences.
The GPU runtime (onnxruntime-gpu with CUDA and TensorRT) is several GB and is not bundled. Without it, the app runs every model on the CPU and starts on Deployed instead of Fast. See the runbook's section on running Fast on an NVIDIA GPU.
Download, verify and launch
The archive is split into two parts. Download both parts and component-classifier-linux-x86_64.tar.gz.sha256, then:
cat component-classifier-linux-x86_64.tar.gz.part-* > component-classifier-linux-x86_64.tar.gz
sha256sum -c component-classifier-linux-x86_64.tar.gz.sha256 --ignore-missing
tar -xzf component-classifier-linux-x86_64.tar.gz
cd component-classifier-linux-x86_64
sha256sum -c SHA256SUMS
./run.sh --tab demoOn NixOS use ./run-nixos.sh --tab demo. The app needs about 4 GB of free RAM and 2.4 GB of disk. The first launch with Fast on TensorRT builds a GPU engine, which takes about a minute; later launches reuse it.
For the models only, extract the archive's component-classifier-linux-x86_64/exports folder into a source checkout. Keep model.onnx.data beside model.onnx and model_multi.onnx.
Checked before publishing
On the publishing laptop (RTX 3060 Laptop GPU): all 107 files match SHA256SUMS; ./run.sh models --check shows all five models ready; the CPU answers on the 68 demo photos match the saved golden file exactly (272 rows); and the Benchmark tab on the GPU gives A 19, B 38, C 53, Deployed 53 and Fast 52 of 68. Other desktops have not been tested.
Links
- Runbook: setup, the GPU runtime, troubleshooting and sharing.
- Training notebook: one section per model, with every training and build step as a switchable cell.
- The previous release,
share-2026-10-30, stays available. It has four models and 28 demo photos.
GitHub collaborator access is required to download this private release.