zhanghang1989 / PyTorch-Multi-Style-Transfer

Neural Style and MSG-Net
http://hangzh.com/PyTorch-Style-Transfer/
MIT License
976 stars 207 forks source link

Color produced by eval doesn't match demo #43

Open clarng opened 3 years ago

clarng commented 3 years ago

Hi ! Thanks for sharing the code. I've ran the eval program using the defaults provided and I noticed the color tends to be much dimmer than what is shown on the homepage here. Is there something that I am missing? The command I used was

python main.py --style-image ./images/21styles/udnie.jpg --content-image ./images/content/venice-boat.jpg

out

zhanghang1989 commented 3 years ago

It may be because of different behavior of the PyTorch versions. (this code was written long time ago)

For constant results, please try our Torch implementation: https://github.com/zhanghang1989/MSG-Net/