mirror of https://github.com/open-mmlab/mmocr.git
[Fix] Fix PadToWidth register
parent
cb8f980bae
commit
34a96a8b87
|
@ -1245,6 +1245,7 @@ class RescaleToHeight(BaseTransform):
|
|||
return repr_str
|
||||
|
||||
|
||||
@TRANSFORMS.register_module()
|
||||
class PadToWidth(BaseTransform):
|
||||
"""Only pad the image's width.
|
||||
|
||||
|
|
Loading…
Reference in New Issue