use usls::{models::YOLO, DataLoader, Options}; fn main() -> Result<(), Box> { // build model let options = Options::default() .with_model("../models/yolov8s-world-v2-shoes.onnx") .with_i00((1, 1, 4).into()) .with_i02((416, 640, 800).into()) .with_i03((416, 640, 800).into()) .with_confs(&[0.3]) // shoes: 0.2 .with_saveout("YOLO-World") .with_profile(false); let mut model = YOLO::new(&options)?; // build dataloader let mut dl = DataLoader::default().load("./assets/bus.jpg")?; // run model.run(&dl.next().unwrap().0)?; Ok(()) }