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

Error while running renderer.py #31

Open
simonsapiel opened this issue Feb 20, 2020 · 1 comment
Open

Error while running renderer.py #31

simonsapiel opened this issue Feb 20, 2020 · 1 comment

Comments

@simonsapiel
Copy link

Hi.

There seems to be an error when running the renderer.py file. This is the output

Traceback (most recent call last): File "renderer.py", line 181, in <module> renderer.loadModels(['/home/simon/Desktop/FloorplanTransformation/data/floorplan_representation/00/0b/0513fae730eaf65b98f9580d024d/0001', ]) File "renderer.py", line 78, in loadModels floorplan.read() File "/home/simon/Desktop/FloorplanTransformation/rendering/floorplan.py", line 130, in read item[pointIndex * 2 + 0] /= self.maxDim AttributeError: Floorplan instance has no attribute 'maxDim'

maxDim seems to be causing the problem although it's defined on line 101 at floorplan.py

self.maxDim = max(self.width, self.height).

Any ideas on what might be causing this? @art-programmer

@sisoburg
Copy link

I ran into the same issue.
Following.
Hopefully, someone can help

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

2 participants