You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
windows中的如果只split("\n"),那么会留下"\r",lable就会变成"0\r"或"180\r",那么就会出现RecursionError: maximum recursion depth exceeded while calling a Python object的错误,修改成substr = data_line.strip("\r\n").split(self.delimiter)就不会有该问题
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
PaddleOCR/ppocr/data/simple_dataset.py
Line 99 in bde8cad
windows中的如果只split("\n"),那么会留下"\r",lable就会变成"0\r"或"180\r",那么就会出现RecursionError: maximum recursion depth exceeded while calling a Python object的错误,修改成substr = data_line.strip("\r\n").split(self.delimiter)就不会有该问题
Beta Was this translation helpful? Give feedback.
All reactions