yusuketomoto / chainer-fast-neuralstyle

Chainer implementation of "Perceptual Losses for Real-Time Style Transfer and Super-Resolution".
MIT License
803 stars 226 forks source link

"Halo" effect problem #71

Open Rachnog opened 7 years ago

Rachnog commented 7 years ago

Hi everyone! @yusuketomoto first of all thank you for amazing tool for style transfer! I've experimented with it a lot, and could obtain nice results. But still always one thing appears I'd like to get rid of. It's strange oreola or halo around objects. It's not always visible on normal images, but 100% you can see it on text:

nos_31_0_24000_phone

First I thought it's padding problem in generator network and it makes such halos, but even pushing them all to zero doesn't make any difference. The same with stride. Playing around with hyperparams for content and style didn't give any result as well.

Guys, do you have any ideas how to solve this problem? Thanks to any hint and good luck with your styles ;)

ttoinou commented 7 years ago

They often appears for this repo. Maybe with others implementations of Fast Neural Style one would have less halos..

Rachnog commented 7 years ago

@ttoinou But do you think they are result of chainer implementation? (convolutions etc) I also noticed that implementations in Torch or TF don't produce them...