We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fbcode/vision
1 parent 6b87660 commit fbc6725Copy full SHA for fbc6725
pytorch3d/implicitron/tools/video_writer.py
@@ -112,6 +112,7 @@ def write_frame(
112
resize = im.size
113
# make sure size is divisible by 2
114
resize = tuple([resize[i] + resize[i] % 2 for i in (0, 1)])
115
+ # pyre-fixme[16]: Module `Image` has no attribute `ANTIALIAS`.
116
im = im.resize(resize, Image.ANTIALIAS)
117
im.save(outfile)
118
0 commit comments