kardosdrur
commited on
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
tags:
|
6 |
+
- yolo
|
7 |
+
- object-recognition
|
8 |
+
library_name: burial_mounds
|
9 |
+
---
|
10 |
+
|
11 |
+
# kardosdrur/burial-mounds-yolov8m
|
12 |
+
|
13 |
+
This repository contains a YOLO model that has been finetuned by the `burial_mounds` Python package on the `best` dataset.
|
14 |
+
|
15 |
+
## Usage
|
16 |
+
```python
|
17 |
+
# pip install burial_mounds
|
18 |
+
|
19 |
+
from burial_mounds.hub import load_from_hub
|
20 |
+
|
21 |
+
model = load_from_hub("kardosdrur/burial-mounds-yolov8m")
|
22 |
+
|
23 |
+
mounds = model(["data/mounds/images/east_30.png"])
|
24 |
+
|
25 |
+
# Process results list
|
26 |
+
for result in results:
|
27 |
+
boxes = result.boxes # Boxes object for bounding box outputs
|
28 |
+
masks = result.masks # Masks object for segmentation masks outputs
|
29 |
+
keypoints = result.keypoints # Keypoints object for pose outputs
|
30 |
+
probs = result.probs # Probs object for classification outputs
|
31 |
+
obb = result.obb # Oriented boxes object for OBB outputs
|
32 |
+
result.show() # display to screen
|
33 |
+
result.save(filename="result.jpg") # save to disk
|
34 |
+
```
|
35 |
+
|
36 |
+
For a more detailed guide consult the [YOLOv8 documentation](https://docs.ultralytics.com/modes/predict/#key-features-of-predict-mode).
|