Tushar86 commited on
Commit
e282504
·
1 Parent(s): 14f50e8

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -67
README.md DELETED
@@ -1,67 +0,0 @@
1
-
2
- ---
3
- tags:
4
- - ultralyticsplus
5
- - ultralytics
6
- - yolov8
7
- - yolo
8
- - vision
9
- - object-detection
10
- - pytorch
11
- library_name: ultralytics
12
- library_version: 8.0.4
13
- inference: false
14
-
15
- model-index:
16
- - name: ultralyticsplus/yolov8s
17
- results:
18
- - task:
19
- type: object-detection
20
-
21
- metrics:
22
- - type: precision # since mAP is not available on hf.co/metrics
23
- value: 0.449 # min: 0.0 - max: 1.0
24
- name: mAP
25
- ---
26
-
27
- ### Supported Labels
28
-
29
- ```
30
- ['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush']
31
- ```
32
-
33
-
34
- ### How to use
35
-
36
- - Install [ultralyticsplus](https://github.com/fcakyon/ultralyticsplus):
37
-
38
- ```bash
39
- pip install -U ultralyticsplus==0.0.14
40
- ```
41
-
42
- - Load model and perform prediction:
43
-
44
- ```python
45
- from ultralyticsplus import YOLO, render_result
46
-
47
- # load model
48
- model = YOLO('ultralyticsplus/yolov8s')
49
-
50
- # set model parameters
51
- model.overrides['conf'] = 0.25 # NMS confidence threshold
52
- model.overrides['iou'] = 0.45 # NMS IoU threshold
53
- model.overrides['agnostic_nms'] = False # NMS class-agnostic
54
- model.overrides['max_det'] = 1000 # maximum number of detections per image
55
-
56
- # set image
57
- image = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'
58
-
59
- # perform inference
60
- results = model.predict(image)
61
-
62
- # observe results
63
- print(results[0].boxes)
64
- render = render_result(model=model, image=image, result=results[0])
65
- render.show()
66
- ```
67
-