neural-style-tf icon indicating copy to clipboard operation
neural-style-tf copied to clipboard

save every x iterations

Open minxdragon opened this issue 7 years ago • 1 comments

is there a flag for specifying how often to save? something like save every 50 iterations or every 100?

minxdragon avatar Feb 14 '18 06:02 minxdragon

As far as I know I dont think there is.

You can call the write_image_output() function inside the while loop of minimize_with_adam() function if you are comfortable with editing the tensorflow code.

File IO is expensive, so be careful not to over do it.

DollarAkshay avatar Mar 19 '18 18:03 DollarAkshay