Revrse commited on
Commit
4cde79c
·
verified ·
1 Parent(s): 658eb5b

Create readme.md

Browse files
Files changed (1) hide show
  1. readme.md +16 -0
readme.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```python
2
+ from ultralyticsplus import YOLO, postprocess_classify_output
3
+
4
+ # load model
5
+ model = YOLO('Revrse/icon-labelling')
6
+
7
+
8
+ # set image
9
+ image = 'test/155.png'
10
+
11
+ # perform inference
12
+ prediction = model(image)
13
+
14
+ # observe results
15
+ print(prediction[0].names[prediction[0].probs.top1])
16
+ ```