diff --git a/utils.py b/utils.py index 7029704..f703c56 100755 --- a/utils.py +++ b/utils.py @@ -720,5 +720,5 @@ def resize(self, img, scale): return img def rotate(self, id): - img = Image.open(self.flist[id]).convert('RGB').rotate(90) + img = Image.open(self.flist[id]).convert('RGB').rotate(-90) img.save(self.flist[id])