Skip to content

Commit

Permalink
dir issue attempt-yuzhoucw#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohith-2 committed Jul 12, 2021
1 parent 443db04 commit 3bd4695
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@
if args.mode == "test":
out_dir = os.path.dirname(args.pretrain_path)
out_dir_img = os.path.join(out_dir, "images", "test")
#os.mkdir(out_dir_img)

try:
os.mkdir(out_dir_img)
except:
continue

# load data
test_loader = dataloader.get_dataloader(os.path.join(args.data_dir, "testA"),
Expand Down

0 comments on commit 3bd4695

Please sign in to comment.