mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

use the "allow_symlink" while saving 'latest.pth' checkpoint

Open litaws opened this issue 2 years ago • 1 comments

The code in epoch_based_runner checks if the operating system is Windows, but the allow_symlink member of BaseStorageBackend seems like a better fit https://github.com/open-mmlab/mmcv/blob/f9be3bc3336f00138b876de002477864810c5b29/mmcv/runner/epoch_based_runner.py#L174

litaws avatar Mar 28 '22 06:03 litaws

Hi @litaws , thanks for your feedback. Are you willing to create a PR to fix it?

zhouzaida avatar Mar 28 '22 07:03 zhouzaida