fix typo in RandomFlip.__repr__

pull/2133/head
ly015 2022-06-27 18:36:14 +08:00 committed by zhouzaida
parent 1a57a76be5
commit 08bc449888
1 changed files with 2 additions and 2 deletions

View File

@ -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