Downloads · 30 days
0
lucid-dl/yolo-v4
yolo-v4 is a object detection model from lucid-dl. Use it when you need objects located in an image. It is set up for lucid. The card lists the license as other.
Bochkovskiy, Wang & Liao, 2020 — YOLOv4: Optimal Speed and Accuracy of Object Detection (arXiv:2004.10934)
Downloads · 30 days
0
Access
Public
Updated Aug 19, 2026
Repo size
258 MB
Likes
0
Public
Click a slice to open those files.
.safetensors258 MB · 100%
From the Hugging Face model README
Bochkovskiy, Wang & Liao, 2020 — YOLOv4: Optimal Speed and Accuracy of Object Detection (arXiv:2004.10934)
Lucid port of darknet/yolov4.weights,
converted to Lucid-native safetensors.
| Tag | [email protected] | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|
COCO_2017 (default) | 65.7 | 64.4M | — | 245.85 MB | darknet |
import lucid.models as models
from lucid.models.weights import YOLOV4Weights
# default tag
model = models.yolo_v4(pretrained=True)
# explicit tag (enum or string)
model = models.yolo_v4(weights=YOLOV4Weights.COCO_2017)
model = models.yolo_v4(pretrained="COCO_2017")
# preprocessing travels with the weights
weights = YOLOV4Weights.COCO_2017
preprocess = weights.transforms()
out = model(preprocess(image)[None])
# ObjectDetectionOutput: per-query/proposal class logits + boxes
logits, boxes = out.logits, out.pred_boxes
Converted from darknet/yolov4.weights via
python -m tools.convert_weights yolo_v4 --tag COCO_2017.
Key mapping + numerical parity verified against the source.
other — inherited from the original weights.
@article{bochkovskiy2020yolov4,
title={YOLOv4: Optimal Speed and Accuracy of Object Detection},
author={Bochkovskiy, Alexey and Wang, Chien-Yao and Liao, Hong-Yuan Mark},
journal={arXiv preprint arXiv:2004.10934},
year={2020}
}