“4831205807575203b0c40ff9b22f014ab03ca28d”上不存在“tests/git@gitcode.net:taosdata/tdengine.git”
labelme2coco.py将labelme转换为coco数据集问题
Created by: shuxsu
Generating dataset from: /Users/shuxsu/Downloads/cityscape/gtFine_trainvaltest/gtFine/train/ccc/.json Traceback (most recent call last): File "labelme2coco.py", line 246, in main() File "labelme2coco.py", line 223, in main args.json_input_dir) File "labelme2coco.py", line 117, in deal_json with open(label_file) as f: FileNotFoundError: [Errno 2] No such file or directory: '/Users/shuxsu/Downloads/cityscape/gtFine_trainvaltest/gtFine/train/ccc/.json' 会正常运行几个之后就会出现这样的错误,数据集使用为cityscape数据集,但是数据集本身无imagePath属性,为自己添加。错误提示就是这个,检查了每一个json文件,确认格式以及imagePath均正确