Commit 08bc4498 authored by ly015's avatar ly015 Committed by zhouzaida
Browse files

fix typo in RandomFlip.__repr__

parent 1a57a76b
...@@ -1197,8 +1197,8 @@ class RandomFlip(BaseTransform): ...@@ -1197,8 +1197,8 @@ class RandomFlip(BaseTransform):
def __repr__(self) -> str: def __repr__(self) -> str:
repr_str = self.__class__.__name__ repr_str = self.__class__.__name__
repr_str += f'(scale={self.prob}, ' repr_str += f'(prob={self.prob}, '
repr_str += f'interpolation={self.direction})' repr_str += f'direction={self.direction})'
return repr_str return repr_str
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment