fix openpose path bug
This commit is contained in:
parent
7a80646902
commit
1c1cdca2a3
@ -18,6 +18,9 @@ from glob import glob
|
|||||||
from multiprocessing import Process
|
from multiprocessing import Process
|
||||||
|
|
||||||
def run_openpose(image_root, annot_root, config):
|
def run_openpose(image_root, annot_root, config):
|
||||||
|
image_root = os.path.realpath(image_root)
|
||||||
|
annot_root = os.path.realpath(annot_root)
|
||||||
|
|
||||||
os.makedirs(annot_root, exist_ok=True)
|
os.makedirs(annot_root, exist_ok=True)
|
||||||
pwd = os.getcwd()
|
pwd = os.getcwd()
|
||||||
if os.name != 'nt':
|
if os.name != 'nt':
|
||||||
|
Loading…
Reference in New Issue
Block a user