endernewton / iter-reason

Code for Iterative Reasoning Paper (CVPR 2018)
MIT License
265 stars 37 forks source link

Undefined name 'part_seg' in lib/datasets/ade.py #2

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

$ python2 -m flake8 . --count --select=E9,F82 --show-source --statistics

./lib/datasets/ade.py:223:19: F821 undefined name 'part_seg'
            seg = part_seg
                  ^
1     F821 undefined name 'part_seg'
endernewton commented 6 years ago

where did you need this? I can clean this up actually.

xueyoo commented 6 years ago

does train_memory step need segmentation data?

cclauss commented 6 years ago

The line is probably not run currently because if it was NameError would probably be raised at runtime.

endernewton commented 6 years ago

@xueyoo the segmentation is converted to boxes.

endernewton commented 6 years ago

@cclauss i removed that, thanks!