Skip to content

Commit

Permalink
2023-10-19 nightly release (e3fb8c0)
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Oct 19, 2023
1 parent 445b0a6 commit 642f413
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified test/assets/fakedata/draw_boxes_util.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_draw_boxes():
res = Image.fromarray(result.permute(1, 2, 0).contiguous().numpy())
res.save(path)

if PILLOW_VERSION >= (8, 2):
if PILLOW_VERSION >= (10, 1):
# The reference image is only valid for new PIL versions
expected = torch.as_tensor(np.array(Image.open(path))).permute(2, 0, 1)
assert_equal(result, expected)
Expand Down

0 comments on commit 642f413

Please sign in to comment.