提交 0e1ba034 编写于 作者: L LutaoChu 提交者: wuzewu

modify gray2psedu_color.py (#117)

* gray2color
上级 a62fd058
...@@ -61,7 +61,6 @@ def gray2pseudo_color(args): ...@@ -61,7 +61,6 @@ def gray2pseudo_color(args):
try: try:
grt_path = osp.join(fpath, f) grt_path = osp.join(fpath, f)
_output_dir = fpath.replace(input, '') _output_dir = fpath.replace(input, '')
if _output_dir[0] == os.path.sep:
_output_dir = _output_dir.lstrip(os.path.sep) _output_dir = _output_dir.lstrip(os.path.sep)
im = Image.open(grt_path) im = Image.open(grt_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册