|
|
@@ -86,17 +86,17 @@ To run inference on example images in `data/images`: |
|
|
|
```bash |
|
|
|
$ python detect.py --source data/images --weights yolov5s.pt --conf 0.25 |
|
|
|
|
|
|
|
Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.25, device='', img_size=640, iou_thres=0.45, output='runs/detect', save_conf=False, save_txt=False, source='data/images', update=False, view_img=False, weights='yolov5s.pt') |
|
|
|
Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.25, device='', img_size=640, iou_thres=0.45, save_conf=False, save_dir='runs/detect', save_txt=False, source='data/images/', update=False, view_img=False, weights=['yolov5s.pt']) |
|
|
|
Using torch 1.7.0+cu101 CUDA:0 (Tesla V100-SXM2-16GB, 16130MB) |
|
|
|
|
|
|
|
Downloading https://github.com/ultralytics/yolov5/releases/download/v3.0/yolov5s.pt to yolov5s.pt... 100%|██████████████| 14.5M/14.5M [00:00<00:00, 21.3MB/s] |
|
|
|
|
|
|
|
Fusing layers... |
|
|
|
Model Summary: 140 layers, 7.45958e+06 parameters, 0 gradients |
|
|
|
image 1/2 data/images/bus.jpg: 640x480 4 persons, 1 buss, 1 skateboards, Done. (0.013s) |
|
|
|
image 2/2 data/images/zidane.jpg: 384x640 2 persons, 2 ties, Done. (0.013s) |
|
|
|
Model Summary: 232 layers, 7459581 parameters, 0 gradients |
|
|
|
image 1/2 data/images/bus.jpg: 640x480 4 persons, 1 buss, 1 skateboards, Done. (0.012s) |
|
|
|
image 2/2 data/images/zidane.jpg: 384x640 2 persons, 2 ties, Done. (0.012s) |
|
|
|
Results saved to runs/detect/exp |
|
|
|
Done. (0.124s) |
|
|
|
Done. (0.113s) |
|
|
|
``` |
|
|
|
<img src="https://user-images.githubusercontent.com/26833433/97107365-685a8d80-16c7-11eb-8c2e-83aac701d8b9.jpeg" width="500"> |
|
|
|
|