Glenn Jocher 2021-05-12 18:30:31 +02:00 committed by GitHub
parent c1c7eb023f
commit 7918eed040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ import torch
model = torch.hub.load('ultralytics/yolov5', 'yolov5s')
# Image
img = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'
img = 'https://ultralytics.com/images/zidane.jpg'
# Inference
results = model(img)