afshin-dini commited on
Commit
9cb1dd0
·
verified ·
1 Parent(s): 39925f5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -3
README.md CHANGED
@@ -1,3 +1,30 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model:
4
+ - Ultralytics/YOLOv8
5
+ pipeline_tag: image-segmentation
6
+ datasets:
7
+ - afshin-dini/Egg-Instance-Segmentation
8
+ tags:
9
+ - object-segmentation
10
+ - YOLO
11
+ - Egg-Instance-Segmentation
12
+ library_name: pytorch
13
+ ---
14
+
15
+ # Description
16
+ This model is a YOLO-based model which is trained on [Egg Instance Segmentation](https://huggingface.co/datasets/afshin-dini/Egg-Instance-Segmentation).
17
+
18
+ ## Code
19
+ The complete code can be found [here](https://github.com/afshindini/Deep-Egg-Segmentation-and-Sizing).
20
+
21
+ ## How to use
22
+ One can use the model within his/her code with the following commands:
23
+ ```shell
24
+ from huggingface_hub import hf_hub_download
25
+ from ultralytics import YOLO
26
+
27
+ model_path = hf_hub_download(repo_id="afshin-dini/Egg-Instance-Segmentation", filename="model/egg_segmentor.pt")
28
+ model = YOLO(model_path)
29
+ result = model("path/to/image")
30
+ ```