|
Download src/converter/README.md from Arm/Arm-Runtime-for-YOLO26-on-Raspberry-Pi-5: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/Arm/Arm-Runtime-for-YOLO26-on-Raspberry-Pi-5/resolve/main/src/converter/README.md
- Command line
-
hf download hf://Arm/Arm-Runtime-for-YOLO26-on-Raspberry-Pi-5/src/converter/README.md
-
curl -L -o README.md https://huggingface.co/Arm/Arm-Runtime-for-YOLO26-on-Raspberry-Pi-5/resolve/main/src/converter/README.md
1.27 kB
YOLO26n model converter
The converter turns a compatible YOLO26n PyTorch checkpoint into the
model.bin and manifest.json files consumed by the native runtime. It uses
the Python 3.13 standard library and does not import Torch or Ultralytics.
Export and validate a checkpoint from the yolo26-raspberry-pi-5/ runtime
directory:
make model RESOLUTION=640 CHECKPOINT=/absolute/yolo26n.pt
make model-check RESOLUTION=640 CHECKPOINT=/absolute/yolo26n.pt
Supported resolutions are 320, 480, 640, 800, 960, and 1280. Each converted model has one static input resolution. The same native runtime library can execute models at any supported resolution.
Conversion pipeline
checkpoint_decoderreads the supported Torch archive without importing executable model code.model_validationvalidates the model type, operator topology, routing, tensor inventory, class labels, and detection-head geometry required by the fixed runtime.weight_loweringfolds BatchNorm, converts convolution layouts, and creates the split projections used by the runtime.model_formatserializes the named weight slots, resolution, and class metadata tomodel.bin.export_yolo26npublishesmodel.binandmanifest.jsontogether.