deeplabv3
Created by: geng007
read.py中 if six.PY2: import commands label_files = commands.getoutput( "find %s -type f | grep labelTrainIds | sort" % label_dirname).splitlines() print(label_files) else: import subprocess label_files = subprocess.getstatusoutput( "find %s -type f | grep labelTrainIds | sort" % label_dirname)[-1].splitlines() print(label_files)
label_files读取到的是空列表[],dataset是cityscape