【mmsegmentation】bug解决:Error: [Errno 95] Operation not supported: ‘epoch_1.pth‘ -> ‘lastest.pth‘

问题:

运行mmseg工程时(openmmlab的工程都可适用,mmdet\mmcls),出现以下bug报错:

Traceback (most recent call last):
File "tools/train.py", line 131, in
main()
File "tools/train.py", line 127, in main
logger=logger)

......
OSError: [Errno 95] Operation not supported: 'epoch_1.pth' -> '/xxx/latest.pth'

解决方法:

在config文件的checkpoint_config处增加create_symlink参数。

checkpoint_config = dict(...,creat_symlink=False)

 即可解决。

欢迎一键三连!!!

 

你可能感兴趣的:(mmsegmentation,bug,python,人工智能)