We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 946ef3d commit 5aaacbfCopy full SHA for 5aaacbf
generative_models/MoCoGAN_PyTorch/util.py
@@ -9,7 +9,7 @@
9
def crop():
10
current_path = os.path.dirname(__file__)
11
resized_path = os.path.join(current_path, 'resized_data')
12
- dirs = glob.glob(os.path.join(current_path, 'data/*'))
+ dirs = glob.glob(os.path.join(current_path, args.data+'/*'))
13
files = [ glob.glob(dir+'/*') for dir in dirs ]
14
files = sum(files, []) # flatten
15
0 commit comments