martinbenson / deep-photo-styletransfer

Implementation of "Deep Photo Style Transfer": https://arxiv.org/abs/1703.07511
MIT License
205 stars 27 forks source link

Fix bug in win_mu definition in getlaplacian1 #23

Closed posobin closed 7 years ago

posobin commented 7 years ago

In laplacian generation procedure (getlaplacian1), vector np.mean(win_i, axis=0) has size c, not win_size * 2 + 1 (even though in deep photo case they are both equal to 3).