From 09efafc60da2fafca291de45120f8ba6e235cb57 Mon Sep 17 00:00:00 2001 From: Victor Hall Date: Fri, 11 Nov 2022 12:47:27 -0500 Subject: [PATCH] remove static, compatibility --- scripts/auto_caption.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/auto_caption.py b/scripts/auto_caption.py index 612786d..9b29c34 100644 --- a/scripts/auto_caption.py +++ b/scripts/auto_caption.py @@ -78,7 +78,6 @@ def load_image(raw_image, device): image = transform(raw_image).unsqueeze(0).to(device) return image -@staticmethod def get_out_file_name(out_dir, base_name, ext): return os.path.join(out_dir, f"{base_name}{ext}")