You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/fsx/users/yosuamichael/repos/vision/test/test_transforms.py", line 187, in test_accimage_resize
output = trans(accimage.Image(GRACE_HOPPER))
File "/fsx/users/yosuamichael/repos/vision/torchvision/transforms/transforms.py", line 95, in __call__
img = t(img)
File "/fsx/users/yosuamichael/conda/envs/vision-c113/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1129, in _call_impl
return forward_call(*input, **kwargs)
File "/fsx/users/yosuamichael/repos/vision/torchvision/transforms/transforms.py", line 346, in forward
return F.resize(img, self.size, self.interpolation, self.max_size, self.antialias)
File "/fsx/users/yosuamichael/repos/vision/torchvision/transforms/functional.py", line 472, in resize
return F_pil.resize(img, size=output_size, interpolation=pil_interpolation)
File "/fsx/users/yosuamichael/repos/vision/torchvision/transforms/functional_pil.py", line 252, in resize
return img.resize(size[::-1], interpolation)
SystemError: new style getargs format but argument is not a tuple
But strangely our current CI is green, does this mean we skip this test on our CI?
But strangely our current CI is green, does this mean we skip this test on our CI?
Yeah, we don't test against accimage on GH, just internally.
This kind of issue pop up rarely, but regularly. For example #5541 (comment):
This comment from @fmassa seems to suggest that we actually don't support accimage anymore
We don't have Travis (nor accimage) tests anymore, closing this.
That being said, we still claim on our README that accimage is part of the supported backends. Let's wait for @fmassa 's insights before we decide to fully remove it, or actually tests against it.
IIRC, the conclusion was to do nothing. Before completely removing accimage support we'd have to figure out whether people actually rely on it internally or not.
🐛 Describe the bug
I think the PR #6191 broke the test_transforms.py test_accimage_resize. (detected on internal CI)
To reproduce, we should install accimage (see https://github.com/pytorch/accimage) and do the test using the following command:
This will fail and produce stacktrace:
But strangely our current CI is green, does this mean we skip this test on our CI?
cc @vfdev-5 @datumbox
Versions
The text was updated successfully, but these errors were encountered: