Update transforms.py

This commit is contained in:
谢恩泽 2021-06-24 16:54:11 +08:00 committed by GitHub
parent a7c05dbc96
commit 42584d45fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,8 @@ from IPython import embed
@PIPELINES.register_module()
class AlignedResize(object):
"""Resize images & seg. Align
This class is based on ``Resize``, the only difference is
it ensure the long and short sides are divisible by ``size_divisor``.
"""
def __init__(self,