cherubicXN / afm_cvpr2019

Official implementation of paper "Learning Attraction Field Map for Robust Line Segment Detection" (CVPR 2019)
MIT License
296 stars 66 forks source link

minor fix of test dataset #9

Closed aboudev closed 5 years ago

aboudev commented 5 years ago

Fix test dataset when only file_list.txt is provided.

The problem is list += dict will append keys to the list:

a = []
a += {'x': 1, 'y': 2}
# a will be ['x', 'y'] instead of [{'x': 1, 'y': 2}]