Example ORT==2.0.0-rs.5 to support onnxruntime==1.19.x (#16962)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
This commit is contained in:
Yan_Mr 2024-10-29 20:12:15 +08:00 committed by GitHub
parent b0c18b7190
commit 235f2d95af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 172 additions and 101 deletions

View file

@ -6,7 +6,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let args = Args::parse();
// 1. load image
let x = image::io::Reader::open(&args.source)?
let x = image::ImageReader::open(&args.source)?
.with_guessed_format()?
.decode()?;