Replace path.absolute() with path.resolve() (#4763)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-09-11 22:46:33 +02:00
1 parent cd810c8286
commit c47be26f34
11 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ def _create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbo
from utils.downloads import attempt_download
from utils.torch_utils import select_device
file = Path(__file__).absolute()
file = Path(__file__).resolve()
check_requirements(requirements=file.parent / 'requirements.txt', exclude=('tensorboard', 'thop', 'opencv-python'))
set_logging(verbose=verbose)