pietrocarbo / deep-transfer

PyTorch implementation of "Universal Style Transfer via Feature Trasforms"
Apache License 2.0
87 stars 19 forks source link

Bad quality result #4

Open victorkitov opened 5 years ago

victorkitov commented 5 years ago

For content content

and style wave_crop

the method gives bad quality result: 000000001584_stylized_by_wave_crop_alpha_1 00

which look like a bug and not expected behaviour.

See result by https://github.com/sunshineatnoon/PytorchWCT: 1_1 0

I used the command: python main.py --content content.jpg --style style.jpg --outDir results/ --alpha 1.0.

Yanteng32 commented 4 years ago

i cant find the result pic ,,could u tell me how you deal with

shoabahamed commented 2 months ago

After spending a lot of time and frustration I finally found the problem why bad results are given. The problems lies in the whitening and color transformation function more specifically the way the style feature map means are added back to the colored feature map at the very end. The implementation is different in this repo and in PytorchWCT repo. Although it's been quite some time since the issue was raised hope it helps