From 19b8472984918742c79015c716d7e405288e48df Mon Sep 17 00:00:00 2001 From: Arslan Date: Thu, 18 Aug 2022 14:25:47 +0300 Subject: [PATCH] Change from Image.ANTIALIAS to transforms.InterpolationMode.LANCZOS --- manydepth/datasets/mono_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manydepth/datasets/mono_dataset.py b/manydepth/datasets/mono_dataset.py index 43333a5..3058b07 100755 --- a/manydepth/datasets/mono_dataset.py +++ b/manydepth/datasets/mono_dataset.py @@ -50,7 +50,7 @@ def __init__(self, self.width = width self.num_scales = num_scales - self.interp = Image.ANTIALIAS + self.interp = transforms.InterpolationMode.LANCZOS self.frame_idxs = frame_idxs