DeGirum compiler toolchain for YOLOv5, YOLOv8 and General ONNX/TFLite
1.1K
Detailed documentation is provided here.
This is the official Docker compiler image for compiling YOLOv5 and YOLOv8 checkpoints, as well as any other model architectures starting from .onnx or .tflite files, into models supported by DeGirum's N2X-ORCA1, OPENVINO (CPU / GPU / NPU), TFLITE (CPU / EDGETPU), TENSORRT-GPU, RKNN (RK3566 / RK3568 / RK3576 / RK3588), HAILORT (HAILO8 / HAILO8L), MEMRYX-MX3, AXELERA-METIS, and DEEPX-M1A frameworks. Once the container is running, the Streamlit UI is served on port 8501 and the compile REST API on port 8535.
Useful on slow networks or when you want to separate download from startup.
docker pull degirum/dg_local_compiler:latest
This folder will receive the compiled model zips.
mkdir -p ~/dg_zoo
docker run --rm --privileged \
-p 8501:8501 -p 8535:8535 \
--mount type=bind,source=$HOME/dg_zoo,target=/output_files \
degirum/dg_local_compiler:latest
Windows PowerShell equivalent:
docker run --rm --privileged `
-p 8501:8501 -p 8535:8535 `
--mount type=bind,source=$HOME\dg_zoo,target=/output_files `
degirum/dg_local_compiler:latest
/ir_compile, /yolocompile, /get-device-list)Compiled .zip bundles appear in the host zoo folder (~/dg_zoo) and are
ready for local inference or upload to the DeGirum cloud portal.
Press Ctrl+C in the terminal running docker run. Because of --rm,
the container is removed automatically on exit; your compiled zips in the
bind-mounted folder are kept.
docker pull degirum/dg_local_compiler:latest
# then re-run step 3
Content type
Image
Digest
sha256:aede25779…
Size
15 GB
Last updated
5 months ago
docker pull degirum/dg_local_compiler