自制VOC数据集error(2)SyntaxError: EOL while scanning string literal
python路径的末尾有反斜杠‘\’的时候,如:path1 = 'F:\wamp1\www\stats\',
会提示一条错误:【SyntaxError: EOL while scanning string literal】
改正:path1 =r 'F:\\wamp1\\www\\stats\\'
自制VOC数据集error(2)SyntaxError: EOL while scanning string literal
python路径的末尾有反斜杠‘\’的时候,如:path1 = 'F:\wamp1\www\stats\',
会提示一条错误:【SyntaxError: EOL while scanning string literal】
改正:path1 =r 'F:\\wamp1\\www\\stats\\'