Skip to content

Commit

Permalink
Add onnx proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jamjamjon committed May 7, 2024
1 parent 246e609 commit b7615b3
Show file tree
Hide file tree
Showing 6 changed files with 1,335 additions and 49 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ image = "0.25.1"
imageproc = { version = "0.24" }
ab_glyph = "0.2.23"
geo = "0.28.0"
prost = "0.12.4"
human_bytes = "0.4.3"
sysinfo = "0.30.12"
3 changes: 2 additions & 1 deletion examples/yolov8/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// .with_model("yolov8m-seg-dyn.onnx")?
// .with_model("yolov8m-obb-dyn.onnx")?
// .with_model("yolov8m-oiv7-dyn.onnx")?
// .with_trt(0)
.with_trt(0)
// .with_fp16(true)
// .with_coreml(0)
.with_i00((1, 1, 4).into())
.with_i02((224, 640, 800).into())
.with_i03((224, 640, 800).into())
Expand Down
Loading

0 comments on commit b7615b3

Please sign in to comment.