We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f2919 commit e0f850bCopy full SHA for e0f850b
torchvision/io/_video_deprecation_warning.py
@@ -0,0 +1,10 @@
1
+import warnings
2
+
3
+def _raise_video_deprecation_warning():
4
+ warnings.warn(UserWarning,
5
+ "The video decoding and encoding capabilities of torchvision "
6
+ "are deprecated from version 0.22 and will be removed in version 0.24. "
7
+ "We recommend that you migrate to TorchCodec, where we'll consolidate "
8
+ "the future decoding/encoding capabilities of PyTorch: "
9
+ "https://github.com/pytorch/torchcodec"
10
+)
0 commit comments