lucasaltmann commited on
Commit
c52e213
1 Parent(s): 7cd4c17

add model card

Browse files
Files changed (1) hide show
  1. README.md +1 -35
README.md CHANGED
@@ -21,7 +21,7 @@ model-index:
21
 
22
  metrics:
23
  - type: precision # since mAP@0.5 is not available on hf.co/metrics
24
- value: 0.73519 # min: 0.0 - max: 1.0
25
  name: mAP@0.5(box)
26
  ---
27
 
@@ -35,37 +35,3 @@ model-index:
35
  ['7891035618550']
36
  ```
37
 
38
- ### How to use
39
-
40
- - Install [ultralyticsplus](https://github.com/fcakyon/ultralyticsplus):
41
-
42
- ```bash
43
- pip install ultralyticsplus==0.0.29 ultralytics==8.0.239
44
- ```
45
-
46
- - Load model and perform prediction:
47
-
48
- ```python
49
- from ultralyticsplus import YOLO, render_result
50
-
51
- # load model
52
- model = YOLO('lucasaltmann/7891035618550')
53
-
54
- # set model parameters
55
- model.overrides['conf'] = 0.25 # NMS confidence threshold
56
- model.overrides['iou'] = 0.45 # NMS IoU threshold
57
- model.overrides['agnostic_nms'] = False # NMS class-agnostic
58
- model.overrides['max_det'] = 1000 # maximum number of detections per image
59
-
60
- # set image
61
- image = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'
62
-
63
- # perform inference
64
- results = model.predict(image)
65
-
66
- # observe results
67
- print(results[0].boxes)
68
- render = render_result(model=model, image=image, result=results[0])
69
- render.show()
70
- ```
71
-
 
21
 
22
  metrics:
23
  - type: precision # since mAP@0.5 is not available on hf.co/metrics
24
+ value: 0.995 # min: 0.0 - max: 1.0
25
  name: mAP@0.5(box)
26
  ---
27
 
 
35
  ['7891035618550']
36
  ```
37