Add YOLOPv2 & Face-Parsing model (#3)

* Add YOLOP and face parsing model
This commit is contained in:
Jamjamjon
2024-04-14 15:15:59 +08:00
committed by GitHub
parent ead175234c
commit 51b75e9a21
63 changed files with 1168 additions and 885 deletions

View File

@ -4,9 +4,7 @@
cargo run -r --example rtdetr
```
## Or you can manully
### 1. Donwload or export ONNX Model
## Donwload or export ONNX Model
- Export
@ -18,19 +16,6 @@ cargo run -r --example rtdetr
[rtdetr-l-f16 model](https://github.com/jamjamjon/assets/releases/download/v0.0.1/rtdetr-l-f16.onnx)
### 2. Specify the ONNX model path in `main.rs`
```Rust
let options = Options::default()
.with_model("ONNX_MODEL") // <= modify this
```
### 3. Then, run
```bash
cargo run -r --example rtdetr
```
## Results
![](./demo.jpg)