-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ci errors from the recent updates #2502
Copy link
Copy link
Closed
Description
Describe the bug
bug from pillow 8.3, python-pillow/Pillow#5571
======================================================================
ERROR: test_kitty_pretrained_2 (tests.test_efficientnet.TestEFFICIENTNET)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/parameterized/parameterized.py", line 533, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/__w/MONAI/MONAI/tests/test_efficientnet.py", line 267, in test_kitty_pretrained
img = tfms(img).unsqueeze(0).to(device)
File "/opt/conda/lib/python3.6/site-packages/torchvision/transforms/transforms.py", line 60, in __call__
img = t(img)
File "/opt/conda/lib/python3.6/site-packages/torchvision/transforms/transforms.py", line 97, in __call__
return F.to_tensor(pic)
File "/opt/conda/lib/python3.6/site-packages/torchvision/transforms/functional.py", line 129, in to_tensor
np.array(pic, mode_to_nptype.get(pic.mode, np.uint8), copy=True)
TypeError: __array__() takes 1 positional argument but 2 were given
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels