We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e9a63 commit 4752a2dCopy full SHA for 4752a2d
detectron2/data/transforms/transform.py
@@ -43,7 +43,7 @@ class ExtentTransform(Transform):
43
See: https://pillow.readthedocs.io/en/latest/PIL.html#PIL.ImageTransform.ExtentTransform
44
"""
45
46
- def __init__(self, src_rect, output_size, interp=Image.LINEAR, fill=0):
+ def __init__(self, src_rect, output_size, interp=Image.BILINEAR, fill=0):
47
48
Args:
49
src_rect (x0, y0, x1, y1): src coordinates
0 commit comments