From 0ca07353c82c0b8bbe1552dd871960b72d00cb62 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Tue, 7 Mar 2023 14:01:53 +0000 Subject: [PATCH] [Cherry-pick for 0.15] Fix warning message (#7395) Co-authored-by: Philip Meier Co-authored-by: Camilo De La Torre <64303300+camilodlt@users.noreply.github.com> --- torchvision/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/__init__.py b/torchvision/__init__.py index eed24091a52..590b32732ac 100644 --- a/torchvision/__init__.py +++ b/torchvision/__init__.py @@ -105,7 +105,7 @@ def _is_tracing(): "this issue: https://github.com/pytorch/vision/issues/6753, and you can also " "check out https://github.com/pytorch/vision/issues/7319 to learn more about " "the APIs that we suspect might involve future changes. " - "You can silence this warning by calling torchvision.disable_beta_transform_warning()." + "You can silence this warning by calling torchvision.disable_beta_transforms_warning()." )