-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Description
pytest test/test_transforms_v2_refactored.py
================================================================ warnings summary =================================================================
test/test_transforms_v2_refactored.py: 34 warnings
/home/nicolashug/dev/vision/torchvision/transforms/v2/functional/_geometry.py:1238: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
fill = torch.tensor(fill, dtype=image.dtype, device=image.device).reshape(-1, 1, 1)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Metadata
Metadata
Assignees
Labels
No labels