|
Download README.md from Revrse/icon-labelling: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/Revrse/icon-labelling/resolve/main/README.md
- Command line
-
hf download hf://Revrse/icon-labelling/README.md
-
curl -L -o README.md https://huggingface.co/Revrse/icon-labelling/resolve/main/README.md
283 Bytes
| ```python | |
| from ultralyticsplus import YOLO, postprocess_classify_output | |
| # load model | |
| model = YOLO('Revrse/icon-labelling') | |
| # set image | |
| image = 'test/155.png' | |
| # perform inference | |
| prediction = model(image) | |
| # observe results | |
| print(prediction[0].names[prediction[0].probs.top1]) | |
| ``` |