fix openpose path bug

This commit is contained in:
xiaoke@ivgsz_171 2023-02-07 15:36:19 +08:00
parent 7a80646902
commit 1c1cdca2a3

View File

@ -18,6 +18,9 @@ from glob import glob
from multiprocessing import Process
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)
pwd = os.getcwd()
if os.name != 'nt':