EMLight icon indicating copy to clipboard operation
EMLight copied to clipboard

Some error when I run distribution_representation.py

Open xjsxjs opened this issue 2 years ago • 5 comments

Traceback (most recent call last): File "distribution_representation.py", line 145, in para, map = extractor.compute(hdr) File "distribution_representation.py", line 94, in compute hdr = self.steradian * hdr ValueError: operands could not be broadcast together with shapes (128,256,1) (1024,2048,3)

When I run distribution_representation.py, I encounter the above error, how can I solve it, thank you!

xjsxjs avatar May 08 '22 14:05 xjsxjs

It seems to be caused by the image size, you may check it. The default size of panorama in my work is 256 * 128.

fnzhan avatar May 09 '22 13:05 fnzhan

It seems to be caused by the image size, you may check it. The default size of panorama in my work is 256 * 128.

Hello sir, thank you for your reply, maybe there are some problems with my understanding, I thought distribution_representation.py can be run directly with the original Laval data set, do you need other data preprocessing, can you share how it is processed, Thanks again!

xjsxjs avatar May 09 '22 13:05 xjsxjs

Yes, it requires some preprocessing as described in "deep parametric indoor lighting estimation". I directly got the preprocessed data by contacting the author.

fnzhan avatar May 12 '22 17:05 fnzhan

Yes, it requires some preprocessing as described in "deep parametric indoor lighting estimation". I directly got the preprocessed data by contacting the author.

Thank you for your reply!

xjsxjs avatar May 13 '22 02:05 xjsxjs

Excuse me, have you got the dataset? I sent an email to the author, but he didn't reply.

half-orange-v avatar Jan 11 '23 09:01 half-orange-v