nothinglo/Deep-Photo-Enhancer

How to fix bright halo effect?

odgiv opened this issue · 9 comments

odgiv commented

Hello, First of all thanks for this great work. I have trained the model on my own data with supervised learning. One problem that I have now is that there is a kind of halo effect shown around areas where there is strong contrast change. For example, around objects in outdoor images. Are you aware of this issue and is there any fix?

Thanks.

you should read #38 and #39 again,you need change ProPhotoRGB to sRGB.i don`t know how to use the ckpt in test code,can you help me?

odgiv commented

I have alread sRGB photos. Did you download right code here for ckpt?

Yes,I use the right code to get ckpt.But, it is useless in test code.you will find obviously different in next 2 pictures.
QQ截图20190605091014
I get the result for LPGAN_exp_G3_736
QQ截图20190605091128
Author provided model in LPGAN_exp_G3_736
If I use my result in test code,I found the error in next picture.And, I don`t get any information in train code to produce a new.cpkt.Are you use your result in test code?Do you find the same error like mine?
2019-06-05_092825

I print the net of tensor_name of 90.000-new.ckpt、90.000.ckpt and my 50.000.ckpt.I find 86 lines data in 90.000-new.ckpt.However, I found 328 lines same data in 90.000.ckpt and 50.000.ckpt。Do you know how to get ckpt like 90.000-new.ckpt?

I print the net of tensor_name of 90.000-new.ckpt、90.000.ckpt and my 50.000.ckpt.I find 86 lines data in 90.000-new.ckpt.However, I found 328 lines same data in 90.000.ckpt and 50.000.ckpt。Do you know how to get ckpt like 90.000-new.ckpt?

I add the rename script to the download link. Sorry for your inconvenience.

@nothinglo Thank you for your prompt reply, I am very grateful for your work.

Could you please tell me how to convert images from ProPhoto RGB to sRGB color space using Python? @GentlemanWally @odgiv

Thanks

Hello, First of all thanks for this great work. I have trained the model on my own data with supervised learning. One problem that I have now is that there is a kind of halo effect shown around areas where there is strong contrast change. For example, around objects in outdoor images. Are you aware of this issue and is there any fix?

Thanks.

have you fixed the bright halo?

@odgiv Regarding the halo effect issue, you can either don't over train the model or use a non-pixel-to-pixel model to deal with.