chainer-fast-neuralstyle icon indicating copy to clipboard operation
chainer-fast-neuralstyle copied to clipboard

Speed compared to fast-neuralstyle + instance normalization

Open crypdick opened this issue 8 years ago • 2 comments

Thanks for the repo and all your helpful comments upstream. I was wondering if you've done any speed comparison between your code and jcjohnson's implementation with instance normalization enabled?

crypdick avatar Jan 05 '17 23:01 crypdick

I never really got around to try out his repo. Should be a bit faster cause torch is more optimized in gpu handling. Some say that inst-norm is faster as well. I cannot confirm any of this as I'm currently on a different machine and do not have a chance to use it.

6o6o avatar Jan 06 '17 09:01 6o6o

I have tried, but only with CPU. And I can tell that jcjohnson's implementation with instance normalization is a lot slower than this code! For one picture 1350 x 1080 jcjohnson's implementation took 4 minutes on my CPU instead of 20 sec! 20 seconds is needed for this code. Maybe with GPU all look different, maybe...

Divetoxx avatar Jan 25 '17 15:01 Divetoxx