This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-05-12 18:30:31 +02:00
1 parent c1c7eb023f
commit 7918eed040
1 file changed
+1 -1
+1 -1
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)