3d-photo-inpainting icon indicating copy to clipboard operation
3d-photo-inpainting copied to clipboard

Edge map not being used in colour inpainting

Open violetamenendez opened this issue 4 years ago • 3 comments

Hi,

I have just found the following line in the code, which is setting the resize_rgb_dict['edge'] to 0, which is the edge map that is being inputted into the colour inpainting network. Is this a typo? Was this set to 0 on purpose to see what the effect of not using an edge map was? Or am I missing where the actual edge information is going into the network?

Thank you for your time.

https://github.com/vt-vl-lab/3d-photo-inpainting/blob/60ce4fcc5f8dc37a2b65bb72ef6287addc024bbf/mesh.py#L1694

violetamenendez avatar Sep 28 '20 18:09 violetamenendez

Reading the supplementing material of the paper I just found the following line:

"The input edge values in the synthesis region are similarly set to zeros for depth and color inpainting models, but remain intact for the edge inpainting network."

I feel like I am missing something, as my understanding is that you are inpainting the edge information in the synthesis area with the edge inpainting network, so you can then condition the output of the depth and colour inpainting networks on these edges. So wouldn't it be the other way around, the edge values are set to 0 in the edge inpainting network, so the network tries to recreate the missing information, but once they are inpainted they remain intact for the other networks?

Thank you for your time :-)

violetamenendez avatar Oct 07 '20 15:10 violetamenendez

Hi,

If you ever get around to looking into this. I would like to know more about your training process and how you generate the edge information to train the depth and colour models.

Thank you!

violetamenendez avatar Nov 23 '20 12:11 violetamenendez

I'm also confused about why setting the edge value to 0

pandadreamer avatar Dec 27 '20 15:12 pandadreamer