Skip to content

Commit

Permalink
[ci] Fix ClipModelTest assertion failure (#3602)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindhuvahinis authored Feb 6, 2025
1 parent 116d367 commit a9a0c12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testClipFeature() throws ModelException, IOException, TranslateExcep
float[] imgVector = model.extractImageFeatures(img);
Assert.assertEquals(textVector.length, imgVector.length);
assertAlmostEquals(textVector[0], 0.09463542);
assertAlmostEquals(imgVector[0], -0.18694691);
assertAlmostEquals(imgVector[0], -0.12755919);
}
}

Expand Down

0 comments on commit a9a0c12

Please sign in to comment.