Docs Colab, OBB and typos fixes (#10366)

Co-authored-by: Olivier Louvignes <olivier@mg-crea.com>
Co-authored-by: RainRat <rainrat78@yahoo.ca>
This commit is contained in:
Glenn Jocher 2024-04-27 13:16:40 +02:00 committed by GitHub
parent f646972b95
commit d6bb3046a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 18 additions and 16 deletions

View file

@ -161,7 +161,7 @@ impl OrtBackend {
Ok(metadata) => match metadata.custom("task") {
Err(_) => panic!("Can not get custom value. Try making it explicit by `--task`"),
Ok(value) => match value {
None => panic!("No correspoing value of `task` found in metadata. Make it explicit by `--task`"),
None => panic!("No corresponding value of `task` found in metadata. Make it explicit by `--task`"),
Some(task) => match task.as_str() {
"classify" => YOLOTask::Classify,
"detect" => YOLOTask::Detect,