endernewton/iter-reason

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

cclauss opened this issue · 5 comments

$ 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'

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

does train_memory step need segmentation data?

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

@xueyoo the segmentation is converted to boxes.

@cclauss i removed that, thanks!