From 0ed0b354eed725c3aa03b48baa418d72b9e2572a Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 20 Jul 2019 17:31:21 +0200 Subject: [PATCH] updates --- README.md | 89 +++++++++++++++++++++++++++---------------------------- test.py | 4 ++- 2 files changed, 46 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index 8d619d8e..d33159cb 100755 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Python 3.7 or later with the following `pip3 install -U -r requirements.txt` pac # Jupyter Notebook -A jupyter notebook with training, detection and testing examples is available at: +A jupyter notebook with training, inference and testing examples is available at: https://colab.research.google.com/drive/1G8T-VFxQkjDe4idzN8F-hbIBqkkkQnxw # Training @@ -73,7 +73,7 @@ Reflection | 50% probability (horizontal-only) H**S**V Saturation | +/- 50% HS**V** Intensity | +/- 50% - + ## Speed @@ -100,7 +100,7 @@ GPUs | `batch_size` | batch time | epoch time | epoch cost # Inference -Run `detect.py` to apply trained weights to an image, such as `zidane.jpg` from the `data/samples` folder: +`detect.py` runs inference on all images **and videos** in the `data/samples` folder: **YOLOv3:** `python3 detect.py --cfg cfg/yolov3.cfg --weights weights/yolov3.weights` @@ -113,7 +113,7 @@ Run `detect.py` to apply trained weights to an image, such as `zidane.jpg` from ## Webcam -Run `detect.py` with `webcam=True` to show a live webcam feed. +`detect.py` with `webcam=True` shows a live webcam feed. # Pretrained Weights @@ -136,9 +136,9 @@ Success: converted 'weights/yolov3-spp.pt' to 'converted.weights' # mAP -- `test.py --weights weights/yolov3.weights` to test official YOLOv3 weights. -- `test.py --weights weights/last.pt` to test most recent checkpoint. -- `test.py --weights weights/best.pt` to test best checkpoint. +- `test.py --weights weights/yolov3.weights` tests official YOLOv3 weights. +- `test.py --weights weights/last.pt` tests most recent checkpoint. +- `test.py --weights weights/best.pt` tests best checkpoint. - Compare to darknet published results https://arxiv.org/abs/1804.02767.