delete test png
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ version = "0.1.5"
|
||||
edition = "2024"
|
||||
repository = "https://github.com/jhqxxx/aha"
|
||||
license = "Apache-2.0"
|
||||
description = "aha model inference library, now supports Qwen2.5VL, MiniCPM4, VoxCPM, Qwen3VL, DeepSeek-OCR, Hunyuan-OCR, PaddleOCR-VL, VoxCPM1.5"
|
||||
description = "aha model inference library, now supports Qwen2.5VL, MiniCPM4, VoxCPM, Qwen3VL, DeepSeek-OCR, Hunyuan-OCR, PaddleOCR-VL, VoxCPM1.5, RMBG2.0"
|
||||
|
||||
[dependencies]
|
||||
candle-core = { version = "0.9.1"}
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 58 MiB |
@@ -37,11 +37,12 @@ fn rmbg2_0_generate() -> Result<()> {
|
||||
|
||||
let i_start = Instant::now();
|
||||
let result = model.generate(mes)?;
|
||||
let i_duration = i_start.elapsed();
|
||||
println!("Time elapsed in generate is: {:?}", i_duration);
|
||||
for (i, img) in result.iter().enumerate() {
|
||||
let _ = img.save(format!("rmbg_{i}.png"));
|
||||
}
|
||||
let i_duration = i_start.elapsed();
|
||||
println!("Time elapsed in generate is: {:?}", i_duration);
|
||||
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user