Update README.md
This commit is contained in:
@@ -4,7 +4,23 @@
|
|||||||
## 🔎 Preparation
|
## 🔎 Preparation
|
||||||
1. `Go to the`[`HAILO AI DEVELOPER ZONE`](https://hailo.ai/developer-zone/software-downloads/)`adress and download .zip file with this configration: Software Package[AI Software Suite], Software Sub-Package[AI Software Suite], Architecture[x86], OS[Linux], Python Version[3.8]`
|
1. `Go to the`[`HAILO AI DEVELOPER ZONE`](https://hailo.ai/developer-zone/software-downloads/)`adress and download .zip file with this configration: Software Package[AI Software Suite], Software Sub-Package[AI Software Suite], Architecture[x86], OS[Linux], Python Version[3.8]`
|
||||||
2. `In model training, place 60%–80% of the photos you use into the train/images folder. The photos should be raw, unlabelled images — there should be no labeling process applied to them. You don’t need labels or a classes.txt file; only the images folder is required.`
|
2. `In model training, place 60%–80% of the photos you use into the train/images folder. The photos should be raw, unlabelled images — there should be no labeling process applied to them. You don’t need labels or a classes.txt file; only the images folder is required.`
|
||||||
|
<details>
|
||||||
|
<summary>3. Get your .pt model and convert it to .onnx</summary>
|
||||||
|
|
||||||
|
1. Run this .py code at the same directory with your .pt model:
|
||||||
|
```bash
|
||||||
|
!pip install ultralytics
|
||||||
|
from ultralytics import YOLO
|
||||||
|
|
||||||
|
model = YOLO("model.pt")
|
||||||
|
model.export(format="onnx")
|
||||||
|
```
|
||||||
|
3. Start a chat with BotFather by typing `/start`.
|
||||||
|
4. Create a new bot with the `/newbot` command.
|
||||||
|
5. Follow the prompts to name your bot and choose a username.
|
||||||
|
6. Copy the API token provided by BotFather.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
## 📦 Setup
|
## 📦 Setup
|
||||||
|
|||||||
Reference in New Issue
Block a user