ValueError: not enough values to unpack (expected 2, got 1)
错误出在image_path,label_path=parse(line,root),其parse函数定义如下:defparse(line,root):line=line.rstrip()#删除string字符串末尾的指定字符,返回生成的新字符串line=line.replace('/SegNet/skydata',root)#将root替换'/SegNet/skydata'returnline.