format code

This commit is contained in:
tink2123 2020-05-13 17:07:20 +08:00
parent 12ea4ee9c2
commit 81ddc6a11e
1 changed files with 0 additions and 1 deletions

View File

@ -185,7 +185,6 @@ class SimpleReader(object):
img_path = self.img_set_dir + "/" + substr[0]
img = cv2.imread(img_path)
if img.shape[-1]==1 or len(list(img.shape))==2:
print("this is a gry")
img = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
if img is None:
logger.info("{} does not exist!".format(img_path))