From c22f6d75593d809a84622a7f5d0dd6f4999b1e8e Mon Sep 17 00:00:00 2001 From: Camilo De La Torre <64303300+camilodlt@users.noreply.github.com> Date: Tue, 7 Mar 2023 11:30:13 +0100 Subject: [PATCH] Added an "s" to match the function name Update the _BETA_TRANSFORMS_WARNING string that currently prints a function that does not exist. An "s" is added. From torchvision.disable_beta_transform_warning() to torchvision.disable_beta_transforms_warning() --- 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()." )