changed out_path
Browse files
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)
|
| 150 |
-
if args.color_control:
|
| 151 |
-
|
| 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:
|