diff --git a/octopuslite/transform.py b/octopuslite/transform.py index 9560799..ba8b8df 100644 --- a/octopuslite/transform.py +++ b/octopuslite/transform.py @@ -14,7 +14,7 @@ def __call__(self, x, idx): return x tform = tf.AffineTransform(translation=self.transforms[idx, :2, 2]) - return tf.warp(x, tform, preserve_range=True) + return tf.warp(x, tform, order = 0, preserve_range=True) def parse_transforms(path: os.PathLike) -> StackTransformer: