Update README.md
Browse files
README.md
CHANGED
|
@@ -1,30 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
```
|
| 10 |
-
pip install ultralytics
|
| 11 |
-
```
|
| 12 |
-
## Preprocess Data
|
| 13 |
-
The ```convert.py``` used to convert *.xml* label file to *.txt* yolo label file.
|
| 14 |
-
Run ```resize_image.py``` to resize image's width to 640.
|
| 15 |
-
## Train with Colab
|
| 16 |
-
Edit ```name.yaml```.
|
| 17 |
-
Upload images and labels.
|
| 18 |
-
```
|
| 19 |
-
!yolo train model=yolov8n.pt data=/content/name.yaml epochs=50 imgsz=640
|
| 20 |
-
```
|
| 21 |
-
## Training's Result
|
| 22 |
-
```last.pt``` and ```best.pt``` in result folder.
|
| 23 |
-
|
| 24 |
-

|
| 25 |
-
## Predict
|
| 26 |
-
Run ```predict.py``` to see result. This is my predict to ```test.mp4```:
|
| 27 |
-
|
| 28 |
-

|
| 29 |
-
|
| 30 |
-
#### Thank you for stopping by!
|
|
|
|
| 1 |
+
title: "Pokemon Object Detection"
|
| 2 |
+
emoji: 🐉
|
| 3 |
+
colorFrom: indigo
|
| 4 |
+
colorTo: pink
|
| 5 |
+
sdk: gradio
|
| 6 |
+
sdk_version: "4.36.1"
|
| 7 |
+
app_file: app.py
|
| 8 |
+
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|