File size: 1,001 Bytes
8abac07
 
 
 
7e3ba90
0aa7903
8abac07
 
8463f81
8abac07
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
license: mit
pipeline_tag: object-detection
tags:
- YOLO
- Hatsune Miku
---

<h1 style="color: #00ffdd; font-size: 2rem;">Dze je Miku? 🥵 (where is Miku)</h1>

Finetuned [YOLOv8s](https://github.com/ultralytics/ultralytics) on 200 labeled Miku photos for 150 epochs, detects a Hatsune Miku doll in an image 🥰.

Demo WASM deploy (runs in your browser): https://plasmoxy.github.io/dzejemiku

```py
!pip install -U "huggingface_hub[cli]"
!pip install ultralytics
!huggingface-cli download Plasmoxy/dze-je-miku-yolo miku_yolo.pt --local-dir .

from ultralytics import YOLO

model = YOLO('./miku_yolo.pt')

res = model.predict([
    'test.jpeg'
], save=True, save_txt=True)

for r in res:
  for b in r.boxes:
    print(b.xyxy)

```

<img src="https://cdn-uploads.huggingface.co/production/uploads/6374c3da905caa7e85bbb0c6/AeH2OljyGQ39jZEsixO6W.png" width="500" />
<img src="https://cdn-uploads.huggingface.co/production/uploads/6374c3da905caa7e85bbb0c6/YLVJWOlbUM-6u5CfLrDJ2.png" width="500" />