Closed cemicel closed 3 years ago
π Hello @cemicel, thank you for your interest in YOLOv3 π! Please visit our βοΈ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a π Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom training β Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.
For business inquiries or professional support requests please visit https://www.ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com.
Python 3.8 or later with all requirements.txt dependencies installed, including torch>=1.7
. To install run:
$ pip install -r requirements.txt
YOLOv3 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv3 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv3 training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.
@cemicel see YOLOv3/5 PyTorch Hub tutorial for batched inference examples:
import torch
# Model
model = torch.hub.load('ultralytics/yolov3', 'yolov3') # or 'yolov3_spp', 'yolov3_tiny'
# Images
imgs = ['https://ultralytics.com/images/zidane.jpg', 'https://ultralytics.com/images/bus.jpg'] # batch of images
# Inference
results = model(imgs)
results.print() # or .show(), .save()
@glenn-jocher Hi thanks for the response. Yes, I saw that there is yolo5 which supports batching. I was curious why yolo3 fails when I pass batched images. Anyway, thanks for the answer, I'm using yolo5 now.
@cemicel you're welcome! It's great to hear that you've found a solution with YOLOv5. The community and the Ultralytics team have put a lot of effort into making it a versatile and powerful tool. If you have any more questions or need further assistance, feel free to ask.
Hi, thanks for the project !
I slightly upgraded the detect.py code to be able to inference multi batch images, but after the update I'm getting weird bbox coordinates for 2 or more frames. This is the code snap:
`
Run inference
`
Is it possible to run a simple inference inference with YOLO3 model ? If yes could you tell me where I've made a mistake please.