LouieYang / deep-photo-styletransfer-tf

Tensorflow (Python API) implementation of Deep Photo Style Transfer
805 stars 186 forks source link

question about getlaplacian #20

Closed wanghxcis closed 6 years ago

wanghxcis commented 6 years ago

when I set epsilon=1e-6, the affine loss is negative. Is any precision issue with that?

LouieYang commented 6 years ago

Yes. I have met the same problem when reproducing. There is a precision issue in L:31 of closed_form_matting.py.

wanghxcis commented 6 years ago

Thanks very much for your timely reply.