Commit b841edea authored by Yuxin Wu's avatar Yuxin Wu

fix typo (fix #205)

parent d0423fb6
...@@ -76,7 +76,7 @@ class FixedCrop(ImageAugmentor): ...@@ -76,7 +76,7 @@ class FixedCrop(ImageAugmentor):
def _augment(self, img, _): def _augment(self, img, _):
return img[self.rect.y0: self.rect.y1 + 1, return img[self.rect.y0: self.rect.y1 + 1,
self.rect.x0: self.rect.x0 + 1] self.rect.x0: self.rect.x1 + 1]
def _fprop_coord(self, coord, param): def _fprop_coord(self, coord, param):
raise NotImplementedError() raise NotImplementedError()
......
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