rbg-research / Floor-Plan-Detection

Effects of Super-Resolution on Object Detection in Floor Plan Images
MIT License
55 stars 10 forks source link

I am unable to run notebook file!!!!! #3

Closed Isaadahmed2 closed 4 months ago

Isaadahmed2 commented 4 months ago

IndexError: invalid index to scalar variable.

I am getting this error when I try to run model code Can you please the requirements file for that.

MatteoMaske commented 4 months ago

In the lines which gives you the error delete "[0]" in the wall_width variable assignment. I think in the recent libraries stast.mode(widths) in the mode attribute has only one element and not a list or a tuple

Isaadahmed2 commented 4 months ago

can you send me the requirements.txt file and the python version

MatteoMaske commented 4 months ago

I'm using python 3.11.8 and I installed the recent libraries needed without using any specific version