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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 243, in
main()
File "train.py", line 162, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "D:\anaconda3\envs\internimage\lib\site-packages\mmcv\utils\config.py", line 564, in dump
f.write(self.pretty_text)
File "D:\anaconda3\envs\internimage\lib\site-packages\mmcv\utils\config.py", line 502, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\yapf_api.py", line 167, in FormatCode
_SplitSemicolons(uwlines), verify, lines)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\reformatter.py", line 107, in Reformat
return _FormatFinalLines(final_lines, verify)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\reformatter.py", line 422, in _FormatFinalLines
verifier.VerifyCode(formatted_code[-1])
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\verifier.py", line 52, in VerifyCode
raise InternalError(sys.exc_info()[1])
yapf.yapflib.verifier.InternalError: (unicode error) 'unicodeescape' codec can't decode bytes in position 11-12: truncated \uXXXX escape (, line
1)
The text was updated successfully, but these errors were encountered:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 243, in
main()
File "train.py", line 162, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "D:\anaconda3\envs\internimage\lib\site-packages\mmcv\utils\config.py", line 564, in dump
f.write(self.pretty_text)
File "D:\anaconda3\envs\internimage\lib\site-packages\mmcv\utils\config.py", line 502, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\yapf_api.py", line 167, in FormatCode
_SplitSemicolons(uwlines), verify, lines)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\reformatter.py", line 107, in Reformat
return _FormatFinalLines(final_lines, verify)
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\reformatter.py", line 422, in _FormatFinalLines
verifier.VerifyCode(formatted_code[-1])
File "D:\anaconda3\envs\internimage\lib\site-packages\yapf\yapflib\verifier.py", line 52, in VerifyCode
raise InternalError(sys.exc_info()[1])
yapf.yapflib.verifier.InternalError: (unicode error) 'unicodeescape' codec can't decode bytes in position 11-12: truncated \uXXXX escape (, line
1)
The text was updated successfully, but these errors were encountered: