Downloads · 30 days
0
dictvv/yolov7-1b1h-500ep
yolov7-1b1h-500ep is a object detection model from dictvv. Use it when you need objects located in an image. The card lists the license as apache-2.0.
YOLOv7-tiny model trained on COCO 320x320 dataset for 500 epochs.
Downloads · 30 days
0
Access
Public
Updated Dec 22, 2025
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.pt1.6 GB · 100%
From the Hugging Face model README
YOLOv7-tiny model trained on COCO 320x320 dataset for 500 epochs.
| Metric | Value |
|---|---|
| [email protected] | 0.4365 |
| [email protected] | 0.3804 |
| [email protected] | 0.3135 |
| [email protected] | 0.2257 |
| [email protected] | 0.0975 |
| [email protected]:0.95 | 0.2672 |
| Precision | 0.6479 |
| Recall | 0.3919 |
weights/best.pt: Best checkpoint (stripped optimizer)weights/last.pt: Final checkpoint (stripped optimizer)weights/epoch_XXX.pt: Checkpoints with per-class AP dataresults.txt: Training log with all metricshyp.yaml: Hyperparametersopt.yaml: Training optionsimport torch
from models.experimental import attempt_load
# Load model
model = attempt_load('weights/best.pt', map_location='cuda')
# Inference
img = torch.randn(1, 3, 320, 320).cuda()
pred = model(img)
import torch
# Load checkpoint with per-class AP
ckpt = torch.load('weights/epoch_499.pt', weights_only=False)
# Access per-class AP
per_class_ap = ckpt.get('per_class_ap', {})
for class_id, ap_data in per_class_ap.items():
print(f"{ap_data['name']}: [email protected]={ap_data['ap50']:.3f}, [email protected]={ap_data['ap70']:.3f}")
2025-12-22