delete test png

This commit is contained in:
jhqxxx
2025-12-23 23:47:20 +08:00
parent 77951b9090
commit 68e333a4f4
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 MiB

+3 -2
View File
@@ -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(())
}