Traceback (most recent call last):
File "D:/Project/mmsegmentation-0.20.2/mmsegmentation-0.20.2/tools/train.py", line 210, in <module>
main()
File "D:/Project/mmsegmentation-0.20.2/mmsegmentation-0.20.2/tools/train.py", line 146, in main
env_info_dict = collect_env()
File "D:\Project\mmsegmentation-0.20.2\mmsegmentation-0.20.2\mmseg\utils\collect_env.py", line 10, in collect_env
env_info = collect_base_env()
File "D:\anaconda\envs\pytorch\lib\site-packages\mmcv\utils\env.py", line 91, in collect_env
env_info['MSVC'] = cc.decode(encoding).partition('\n')[0].strip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte
Process finished with exit code 1
收集环境函数不重要,可以注释掉相应的调用。