SwiftDet-PConv-CPU
Compact Object Detector for CPUs
2 min read
The SwiftDet-PConv-CPU model is a lightweight object-detection architecture trained on the Pascal VOC dataset and optimized for fast CPU inference using onnxruntime (a library for running optimized models). It uses a QARepVGG backbone (a quantized convolutional neural network variant) and PConv blocks for efficient feature extraction without requiring a powerful GPU. The model detects 20 different object classes and is exported to a static ONNX format. It is ideal for developers who need fast local object detection on low-power hardware.
Key features
- Compact size: only about 1.7 million parameters and file sizes from 2 to 7 MB depending on quantization.
- ONNX support: FP32 and INT8 QDQ formats for efficient operation on various processors.
- Efficient architecture: a combination of the QARepVGG backbone, SlimPANPConv neck, and DecoupledGFLHead.
- Quality training: trained on a combination of Pascal VOC 2007 and 2012 using Mosaic and MixUp augmentations.
What you can do
- Evaluate model accuracy and performance using the evaluation script on the Pascal VOC test set.
- Run a CPU benchmark to measure latency and throughput.
- Test the local live detection script with a connected camera.
Example
python ../SwiftDet/swiftdet/eval_voc.py --onnx onnx/swiftdet_voc480_fp32.onnx --voc-root
Read more
DetailsFP32 accuracy: AP50 64.62%, mAP50-95 38.86%
INT8 accuracy: AP50 64.23%, mAP50-95 38.51%
Hardware requirements: runs on CPU, peak memory consumption about 132 MB
Limitations: research preview (v0.1.0), unlicensed, limited to 20 Pascal VOC classes










Comments