"vscode:/vscode.git/clone" did not exist on "03ca11318e61de5f41c4406ac455d926b32e5714"
Commit 81ddc6a1 authored by tink2123's avatar tink2123
Browse files

format code

parent 12ea4ee9
......@@ -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))
......
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