mirror of
https://github.com/NVlabs/SegFormer.git
synced 2025-06-03 14:48:49 +08:00
Update transforms.py
This commit is contained in:
parent
a7c05dbc96
commit
42584d45fb
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user