We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235f3a0 commit 119ac4bCopy full SHA for 119ac4b
align.py
@@ -1,5 +1,6 @@
1
import bz2
2
import os
3
+import os.path as osp
4
import sys
5
from multiprocessing import Pool
6
@@ -195,7 +196,7 @@ def get_file(src, tgt):
195
196
RAW_IMAGES_DIR = args.input_imgs_path
197
ALIGNED_IMAGES_DIR = args.output_imgs_path
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)
200
201
files = os.listdir(RAW_IMAGES_DIR)
202
with tqdm(total=len(files)) as progress:
0 commit comments