Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some error when I run distribution_representation.py #17

Open
xjsxjs opened this issue May 8, 2022 · 5 comments
Open

Some error when I run distribution_representation.py #17

xjsxjs opened this issue May 8, 2022 · 5 comments

Comments

@xjsxjs
Copy link

xjsxjs commented May 8, 2022

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!

@fnzhan
Copy link
Owner

fnzhan commented May 9, 2022

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

@xjsxjs
Copy link
Author

xjsxjs commented May 9, 2022

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!

@fnzhan
Copy link
Owner

fnzhan commented May 12, 2022

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

@xjsxjs
Copy link
Author

xjsxjs commented May 13, 2022

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!

@half-orange-v
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants