Undefined name 'part_seg' in lib/datasets/ade.py
cclauss opened this issue · 5 comments
cclauss commented
$ 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
where did you need this? I can clean this up actually.
xueyoo commented
does train_memory step need segmentation data?
cclauss commented
The line is probably not run currently because if it was NameError would probably be raised at runtime.
endernewton commented
@xueyoo the segmentation is converted to boxes.
endernewton commented
@cclauss i removed that, thanks!