Views
No views yet
car, truck1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download(repo_id="rujutashashikanjoshi/yolo12-vehicle_detection-4139_full_v110-100m", filename="best.pt")
5model = YOLO(model_path)
6
7results = model("your_image.jpg", conf=0.25)
8results[0].show()1{
2 "model_type": "medium",
3 "epochs": 100,
4 "batch_size": 16,
5 "image_size": 640,
6 "learning_rate": 0.01,
7 "weight_decay": 0.0005,
8 "momentum": 0.937,
9 "warmup_epochs": 3,
10 "workers": 4,
11 "patience": 30,
12 "save_period": 10,
13 "conf_threshold": 0.25,
14 "iou_threshold": 0.45,
15 "output_dir": "./output/4139_fullv10"
16}