YOLOv5运行报错:SyntaxError: EOL while scanning string literal
一、错误详情在运行YOLOv5模型中的detect.py文件时,出现如下报错:完整报错代码:File"C:\Projects\pythonProject\yolov5-5.0\detect.py",line110withopen(txt_path+'.txt','a')asf:^SyntaxError:EOLwhilescanningstringliteral出现此问题是因为detect.py编码