Skip to content

Commit 5aaacbf

Browse files
authored
Update util.py
1 parent 946ef3d commit 5aaacbf

File tree

1 file changed

+1
-1
lines changed
  • generative_models/MoCoGAN_PyTorch

1 file changed

+1
-1
lines changed

generative_models/MoCoGAN_PyTorch/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def crop():
1010
current_path = os.path.dirname(__file__)
1111
resized_path = os.path.join(current_path, 'resized_data')
12-
dirs = glob.glob(os.path.join(current_path, 'data/*'))
12+
dirs = glob.glob(os.path.join(current_path, args.data+'/*'))
1313
files = [ glob.glob(dir+'/*') for dir in dirs ]
1414
files = sum(files, []) # flatten
1515

0 commit comments

Comments
 (0)