Skip to content

Commit

Permalink
Update test_io.py
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarriba committed Mar 13, 2022
1 parent d799a3d commit c301d30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from kornia_rs import Tensor as cvTensor

import torch
import jax
import numpy as np

DATA_DIR = Path(__file__).parent / "data"
Expand Down Expand Up @@ -38,4 +37,4 @@ def test_read_image_rs():
# convert to dlpack to import to torch
dlpack = K.cvtensor_to_dlpack(cv_tensor)
th_tensor = torch.utils.dlpack.from_dlpack(dlpack)
assert th_tensor.shape == (195, 258, 3)
assert th_tensor.shape == (195, 258, 3)

0 comments on commit c301d30

Please sign in to comment.