MasaTate commited on
Commit
fdf102d
·
1 Parent(s): cef2e45

changed out_path

Browse files
Files changed (1) hide show
  1. test.py +3 -3
test.py CHANGED
@@ -146,9 +146,9 @@ def main():
146
  times.append(toc-tic)
147
 
148
  # Save image
149
- out_pth = out_dir + content_pth.stem + '_style_' + style_pth.stem + '_alpha' + str(args.alpha) + content_pth.suffix
150
- if args.color_control:
151
- out_pth += '_colorcontrol'
152
  save_image(out_tensor, out_pth)
153
 
154
  if args.grid_pth:
 
146
  times.append(toc-tic)
147
 
148
  # Save image
149
+ out_pth = out_dir + content_pth.stem + '_style_' + style_pth.stem + '_alpha' + str(args.alpha)
150
+ if args.color_control: out_pth += '_colorcontrol'
151
+ out_pth += content_pth.suffix
152
  save_image(out_tensor, out_pth)
153
 
154
  if args.grid_pth: