Skip to content

Commit 119ac4b

Browse files
author
nessessence
committed
i/o arguments alignment
1 parent 235f3a0 commit 119ac4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

align.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import bz2
22
import os
3+
import os.path as osp
34
import sys
45
from multiprocessing import Pool
56

@@ -195,7 +196,7 @@ def get_file(src, tgt):
195196
RAW_IMAGES_DIR = args.input_imgs_path
196197
ALIGNED_IMAGES_DIR = args.output_imgs_path
197198

198-
if not os.exists(ALIGNED_IMAGES_DIR): os.makedirs(ALIGNED_IMAGES_DIR)
199+
if not osp.exists(ALIGNED_IMAGES_DIR): os.makedirs(ALIGNED_IMAGES_DIR)
199200

200201
files = os.listdir(RAW_IMAGES_DIR)
201202
with tqdm(total=len(files)) as progress:

0 commit comments

Comments
 (0)