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
@@ -26,7 +26,7 @@ from torch.nn.parallel import DistributedDataParallel as DDP
from torch.optim import Adam, SGD, lr_scheduler
from tqdm import tqdm
FILE = Path(__file__).absolute()
FILE = Path(__file__).resolve()
sys.path.append(FILE.parents[0].as_posix()) # add yolov5/ to path
import val # for end-of-epoch mAP