Skip to content

Commit

Permalink
Update pixel_attention_mask unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Dec 2, 2024
1 parent 45de96a commit f88500c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/processors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ describe("Processors", () => {
);
compare(pixel_attention_mask.dims, [3, 2, 364, 364]);
compare(
pixel_attention_mask.mean().item(),
pixel_attention_mask.to('float32').mean().item(),
2 / 3,
0.001, // threshold
);
Expand Down

0 comments on commit f88500c

Please sign in to comment.