yolo_detect / test.py
Shreypai's picture
Upload folder using huggingface_hub (part 17)
93efe93 verified
Raw History Blame Contribute Delete
190 Bytes
from ultralytics import YOLO
if __name__ == "__main__":
model = YOLO(r"C:\Users\shrey\Downloads\dataset\runs\detect\train\weights\best.pt")
metrics = model.val(data="data.yaml")