Practical overview
When it fits
Use it when you want a codebase for object-detection compression experiments or to reproduce the repository’s documented training and evaluation workflows.
Who it is for
- Researchers exploring object-detection pruning and compression.
- Developers evaluating YOLO-based detection models and their metrics.
- Practitioners studying mobile-oriented inference workflows.
Documented uses
- Experiment with pruning and masked retraining of a YOLO-based model.
- Check model parameters and FLOPs.
- Evaluate a model on COCO and inspect detection metrics.
Requirements & limits
The public GitHub repository is listed under the GPL-3.0 license.
- The README requires Python 3.7 or later and lists PyTorch 1.4 among the dependencies.
- The documented Docker setup requires NVIDIA drivers and NVIDIA-Docker for GPU access.
- COCO data and model checkpoints are separate prerequisites for the documented training and evaluation tasks.
- Android deployment compiler source is not included in the repository; the README says iOS use has not been tested.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the documented Docker environment
Build the Yolobile project image and start a container with access to COCO data.
Before you start
- Docker Engine CE 19.03 or later
- NVIDIA driver 440.44 or later
- NVIDIA-Docker
- A local COCO data directory
Steps
Install Docker and NVIDIA-Docker, and meet the listed driver and Docker Engine requirements.
From the project directory, build the image with
t=YOLObile && sudo docker build -t $t ..Run the container with GPU access and mount the project’s COCO data directory at
/usr/src/coco, following the README’s Docker run command.
Expected outcome
A running container with a terminal and the mounted COCO data directory, ready for the repository’s documented commands.
Guide limitations
- The documented container workflow depends on NVIDIA GPU drivers and NVIDIA-Docker.
- The README does not include the Android deployment compiler source in the repository.
Evaluate the listed pruned model on COCO
Run the repository’s documented mAP evaluation command for its listed pruned checkpoint.
Before you start
- Python 3.7 or later with the repository requirements, including PyTorch 1.4
- COCO data in the path expected by
data/coco2014.data - The
best8x-514.ptcheckpoint placed inweights/
Steps
Download a model checkpoint using one of the README’s listed download sources and place the pruned checkpoint at
weights/best8x-514.pt.Run the command below.
python test.py --img-size 320 --batch-size 64 --device 0 --cfg cfg/csdarknet53s-panet-spp.cfg --weights weights/best8x-514.pt --data data/coco2014.data
Expected outcome
The repository’s test script evaluates the checkpoint and reports detection metrics, including mAP.
Guide limitations
- The command assumes the checkpoint and COCO dataset are present at the configured paths.
- Results depend on the dataset, model and runtime environment; the README’s sample output is not a guarantee.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- nightsnack/YOLObile · Official homepage title · retained in its source language

