LabelMe标注好图片之后,使用labelme2seg无法生成真值图片
Created by: zhouhaitao1023
我使用LabelMe标注好图片之后,使用labelme2seg生成真值图片,运行labelme2seg的时候报错,报错信息如下: class_names: ('background', 'steel') Saved class_names: D:\2\class_names.txt Generating dataset from: D:\2\2020_5_15_13_19_46_995.json Traceback (most recent call last): File "D:\PaddleSeg\pdseg\tools\labelme2seg.py", line 90, in main(args) File "D:\PaddleSeg\pdseg\tools\labelme2seg.py", line 78, in main if lbl.min() >= 0 and lbl.max() <= 255: AttributeError: 'tuple' object has no attribute 'min'