Practical overview
When it fits
Use it when you want to compile and run YOLO object detection locally, or work with the repository's documented quantized and custom-model paths.
Who it is for
- Developers building local image-detection utilities with YOLOv2 or YOLOv3.
- Users who need a CPU build or can meet the documented CUDA and cuDNN requirements for GPU execution.
- Practitioners testing INT8 inference or training custom BIT1-XNOR models.
Documented uses
- Compile a YOLO object detector for CPU or CUDA GPU execution.
- Run detection with supplied YOLOv3 or tiny-YOLO weights.
- Configure quantized INT8 inference, including calibration configuration for a custom dataset.
- Test a trained custom BIT1-XNOR model and measure detection accuracy using mAP.
Requirements & limits
The repository is public and identifies the MIT license.
- GPU builds require CUDA 8.0 or later and cuDNN 7.1.1 or later; CPU build instructions are also provided.
- The README lists OpenCV 2.4.13 and versions up to 3.3.0.
- INT8 commands use
-quantized; custom datasets require aninput_calibration=configuration setting. - BIT1-XNOR inference is limited in the documentation to custom models that users train themselves.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build and start a standard YOLOv3 detector
Compile the CPU or GPU program and launch it with the supplied YOLOv3 weights.
Before you start
- Windows or Linux.
- For GPU builds: CUDA 8.0 or later and cuDNN 7.1.1 or later.
- YOLOv3 weights placed in the repository's bin directory.
Steps
On Linux, run
makefor a CPU build; on Windows, buildyolo_cpu.sln.For GPU, set
GPU=1in the Linux Makefile or buildyolo_gpu.slnon Windows.Download
yolov3.weightsintobin.Run
./yolo.shon Linux, oryolo_cpu.cmd/yolo_gpu.cmdon Windows.
Expected outcome
A launched YOLOv3 object-detection program using the selected CPU or GPU build.
Guide limitations
- The README lists OpenCV 2.4.13 and versions up to 3.3.0.
- GPU execution requires the stated CUDA and cuDNN prerequisites.
- The steps describe the supplied YOLOv3 weights, not training a custom model.
Run INT8 inference with dataset calibration
Use the documented quantized-inference option, including the calibration setting for a custom dataset.
Before you start
- A compiled YOLO2 Light program and model configuration.
- For a custom dataset, a calibration input specified in the configuration file.
Steps
Add the
-quantizedflag to the inference command, following the documented INT8 example scripts.For a custom dataset, set
input_calibration=in the relevant configuration file.
Expected outcome
The command is configured to run INT8 inference; custom-dataset use includes its calibration setting.
Guide limitations
- The README does not promise particular performance or accuracy; these depend on the model and data.
- The guide does not cover preparing calibration data.
Compare options for Model inference and serving
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| YOLO2 Light | Compile a YOLO object detector for CPU or CUDA GPU execution. | Windows, Linux | The repository is public and identifies the MIT license. |
| Esanet | Generate semantic labels from paired color and depth images. | Linux | The public repository states that its source code is licensed under Apache 2.0. |
| Ling V2 | Generate text from chat prompts using Ling-mini-2.0 and Transformers. | The repository is public and identifies the project as open source under the MIT license. Model downloads are linked through Hugging Face and ModelScope. |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026
- Original website title
- AlexeyAB/yolo2_light · Official homepage title · retained in its source language

