EMLight icon indicating copy to clipboard operation
EMLight copied to clipboard

How to reconstruct environment map?

Open xqwang14 opened this issue 3 years ago • 3 comments

envmap

I tried both train and test code on Laval Indoor dataset, and from the test code, I get one result as the image shown above. It seems like the Guassian Map that mentioned in the paper, and I wonder how to reconstruct the environment map from this image.

Thank you so much for your excellent work and I look forward to any reply.

xqwang14 avatar Sep 28 '22 10:09 xqwang14

A generation network is followed to translate gaussian map to illumination maps, i.e., GenProjector. The generation network is highly biased to the training scene, I recommend you to train it with your data.

fnzhan avatar Sep 29 '22 23:09 fnzhan

To use GenProjector, I need latest_net_G.pth file. Could you please share its weights with me?

Thank you.

najmemhmdb avatar Oct 23 '22 11:10 najmemhmdb

hi @a978908609 ,

when i run the training code , i got some error,

Traceback (most recent call last): File "train.py", line 97, in dist_emloss = Sam_Loss(dist_pred, dist_gt).sum() * 1000.0 File "/venv/py37_zero-XRWy4lKA/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) TypeError: forward() missing 1 required positional argument: 'geometry' so you have use the geometry in the training?

ad45675 avatar Nov 09 '22 13:11 ad45675