mirror of https://github.com/open-mmlab/mmcv.git
fix typo in RandomFlip.__repr__
parent
1a57a76be5
commit
08bc449888
|
@ -1197,8 +1197,8 @@ class RandomFlip(BaseTransform):
|
|||
|
||||
def __repr__(self) -> str:
|
||||
repr_str = self.__class__.__name__
|
||||
repr_str += f'(scale={self.prob}, '
|
||||
repr_str += f'interpolation={self.direction})'
|
||||
repr_str += f'(prob={self.prob}, '
|
||||
repr_str += f'direction={self.direction})'
|
||||
|
||||
return repr_str
|
||||
|
||||
|
|
Loading…
Reference in New Issue