赞
踩
该情况是由于出现了无法进行转换的 二进制数据造成的,
- in_file = open(os.path.join(VOCdevkit_path, 'VOC%s/Annotations/%s.xml'%(year, image_id)), encoding='utf-8')
- in_file = open(os.path.join(VOCdevkit_path, 'VOC%s/Annotations/%s.xml'%(year, image_id)), encoding='gb2312')
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。