TuSimple / TuSimple-DUC

Understanding Convolution for Semantic Segmentation
https://arxiv.org/abs/1702.08502
Apache License 2.0
605 stars 118 forks source link

Support for Python 3? #3

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/TuSimple/TuSimple-DUC on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./data_prep/get_cityscapes_list.py:18:42: E999 SyntaxError: invalid syntax
                print "%d out of %d done." % (index, len(all_images))
                                         ^

./test/predict_full_image.py:87:86: E999 SyntaxError: invalid syntax
            print 'Process %d out of %d image ... %s, time cost:%.3f, confidence:%.3f' % \
                                                                                     ^

2     E999 SyntaxError: invalid syntax
wpqmanu commented 6 years ago

Sorry, no support for python 3 for now, but we welcome contributions.