VToonify icon indicating copy to clipboard operation
VToonify copied to clipboard

Suggestion: unique name of the output

Open vitacon opened this issue 2 years ago • 1 comments

It was a bit inconvenient to manually rename output files to avoid overwriting so I made a rather provisional hack:

savename = os.path.join(args.output_path, basename + '_vtoonify_' + args.backbone[0] + '-' + args.ckpt[24:29] + '-' + str(args.style_id).zfill(3) + '-' + str(100*args.style_degree).zfill(3) + '.jpg')

I think it would be useful to add something like this ("args.ckpt[24:29]" needs to be replaced by something more robust) into your code.

vitacon avatar Jan 25 '23 07:01 vitacon

I would also like to specify the path and filename of the output file please.

ashleykleynhans avatar Apr 18 '23 16:04 ashleykleynhans