Update test.py

pull/9/head
Dominic-ZZ 3 years ago committed by GitHub
parent 4180346273
commit 57268c369f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,7 @@ def main_worker(args, use_gpu=True):
for ext in ['.jpg', '.png']:
image_paths.extend(glob(os.path.join(args.dir_image, '*'+ext)))
image_paths.sort()
mask_paths = sorted(glob(os.path.join(args.dir_mask, '*.png')))
mask_paths = sorted(glob(os.path.join(args.dir_mask,args.mask_type,'*.png')))
os.makedirs(args.outputs, exist_ok=True)
# iteration through datasets

Loading…
Cancel
Save