image 1/1 /content/NAR1018.jpg: 224x224 carburetor 0.98, alternator 0.01, shock_absorbers 0.00, air_fin 0.00, piston 0.00, 11.5ms
Speed: 16.3ms preprocess, 11.5ms inference, 0.1ms postprocess per image at shape (1, 3, 224, 224)
1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4# Download model
5model_path = hf_hub_download(
6 repo_id="AswinG5/moto-parts-30cls",
7 filename="motopartscls.pt"
8)
9
10# Load model
11model = YOLO(model_path)
12
13# Predict
14results = model("your-image-file.jpg")[0]
Dataset is private and not distributed.