Replace path.absolute() with path.resolve() (#4763)
This commit is contained in:
1 parent
cd810c8286
commit
c47be26f34
11 files changed
+11
-11
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
# import torch
|
||||
# from PIL import ImageFont
|
||||
#
|
||||
# FILE = Path(__file__).absolute()
|
||||
# FILE = Path(__file__).resolve()
|
||||
# ROOT = FILE.parents[1] # yolov5/ dir
|
||||
# if str(ROOT) not in sys.path:
|
||||
# sys.path.append(str(ROOT)) # add ROOT to PATH
|
||||
|
||||
Reference in new issue
Block a user