update fmt

This commit is contained in:
jhqxxx
2026-02-14 16:46:09 +08:00
parent 28f8fb6c1b
commit 9dfe60cb53
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ fn messy_test() -> Result<()> {
&emo_matrix_path, &emo_matrix_path,
"feat2/data/0", "feat2/data/0",
Shape::from_dims(&[73, 1280]), Shape::from_dims(&[73, 1280]),
&device, device,
)?; )?;
println!("t_emo: {}", t_emo); println!("t_emo: {}", t_emo);
let skp_matrix_path = model_path + "/feat1.pt"; let skp_matrix_path = model_path + "/feat1.pt";
@@ -33,7 +33,7 @@ fn messy_test() -> Result<()> {
&skp_matrix_path, &skp_matrix_path,
"feat1/data/0", "feat1/data/0",
Shape::from_dims(&[73, 192]), Shape::from_dims(&[73, 192]),
&device, device,
)?; )?;
println!("t_skp: {}", t_skp); println!("t_skp: {}", t_skp);
// let file = File::open(emo_matrix_path)?; // let file = File::open(emo_matrix_path)?;
+4 -4
View File
@@ -15,7 +15,7 @@ fn test_model_type_classification() {
// Image models: RMBG2_0, VoxCPM, VoxCPM1_5 // Image models: RMBG2_0, VoxCPM, VoxCPM1_5
// This test documents the expected model type classification // This test documents the expected model type classification
let llm_models = vec![ let llm_models = [
WhichModel::MiniCPM4_0_5B, WhichModel::MiniCPM4_0_5B,
WhichModel::Qwen2_5vl3B, WhichModel::Qwen2_5vl3B,
WhichModel::Qwen2_5vl7B, WhichModel::Qwen2_5vl7B,
@@ -26,20 +26,20 @@ fn test_model_type_classification() {
WhichModel::Qwen3vl32B, WhichModel::Qwen3vl32B,
]; ];
let ocr_models = vec![ let ocr_models = [
WhichModel::DeepSeekOCR, WhichModel::DeepSeekOCR,
WhichModel::HunyuanOCR, WhichModel::HunyuanOCR,
WhichModel::PaddleOCRVL, WhichModel::PaddleOCRVL,
]; ];
let asr_models = vec![ let asr_models = [
WhichModel::Qwen3ASR0_6B, WhichModel::Qwen3ASR0_6B,
WhichModel::Qwen3ASR1_7B, WhichModel::Qwen3ASR1_7B,
WhichModel::GlmASRNano2512, WhichModel::GlmASRNano2512,
WhichModel::FunASRNano2512, WhichModel::FunASRNano2512,
]; ];
let image_models = vec![ let image_models = [
WhichModel::RMBG2_0, WhichModel::RMBG2_0,
WhichModel::VoxCPM, WhichModel::VoxCPM,
WhichModel::VoxCPM1_5, WhichModel::VoxCPM1_5,