Bump the version to 0.0.12

* Add sapiens-seg model
This commit is contained in:
Jamjamjon
2024-08-31 17:10:36 +08:00
committed by GitHub
parent f25f5cf2b5
commit f6755a8be4
23 changed files with 340 additions and 31 deletions

View File

@ -11,7 +11,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut model = DepthAnything::new(options)?;
// load
let x = vec![DataLoader::try_read("./assets/2.jpg")?];
let x = [DataLoader::try_read("./assets/2.jpg")?];
// run
let y = model.run(&x)?;