Skip to content

Commit f0c5ba5

Browse files
author
pytorchbot
committed
2024-05-20 nightly release (51429c2)
1 parent ffb63a1 commit f0c5ba5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ def run(self):
554554
zip_safe=False,
555555
install_requires=requirements,
556556
extras_require={
557+
"gdown": ["gdown>=4.7.3"],
557558
"scipy": ["scipy"],
558559
},
559560
ext_modules=get_extensions(),

torchvision/transforms/v2/functional/_color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def permute_channels(inpt: torch.Tensor, permutation: List[int]) -> torch.Tensor
687687
688688
Example:
689689
>>> rgb_image = torch.rand(3, 256, 256)
690-
>>> bgr_image = F.permutate_channels(rgb_image, permutation=[2, 1, 0])
690+
>>> bgr_image = F.permute_channels(rgb_image, permutation=[2, 1, 0])
691691
692692
Args:
693693
permutation (List[int]): Valid permutation of the input channel indices. The index of the element determines the

0 commit comments

Comments
 (0)