mirror of
https://github.com/mii443/usls.git
synced 2025-08-22 15:45:41 +00:00
Add YOLOPv2 & Face-Parsing model (#3)
* Add YOLOP and face parsing model
This commit is contained in:
@ -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
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user