manuelruder / artistic-videos

Torch implementation for the paper "Artistic style transfer for videos"
Other
1.75k stars 252 forks source link

Time to process in multipass #23

Closed jbgrant01 closed 7 years ago

jbgrant01 commented 8 years ago

I have a 10 second clip with 285 frames. It looks like it is taking 85 seconds per frame in the first five passes. At that rate it looks to take a little over 4 days to render for 15 passes. I was wondering if it will speed up in later passes if the total losses start to decrease?

manuelruder commented 8 years ago

Yes, the mutipass version is slower than the singlepass version of the algorithm. The number of iterations per pass does not decrease, but probably you don't need 15 passes until the result starts looking good. This is just the number you need for the algorithm to converge. You could also try to initialize with the content image. This should decrease the number of passes you'll need even further, but the result may loose a little bit of diversity. (Also lower -use_temporalLoss_after in this case)