mirror of https://github.com/NVlabs/SegFormer.git
Update transforms.py
parent
42584d45fb
commit
0b74d9eda9
|
@ -8,7 +8,8 @@ from IPython import embed
|
|||
|
||||
@PIPELINES.register_module()
|
||||
class AlignedResize(object):
|
||||
"""Resize images & seg. Align
|
||||
"""Resize images & seg.
|
||||
|
||||
This class is based on ``Resize``, the only difference is
|
||||
it ensure the long and short sides are divisible by ``size_divisor``.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue