./tcav.py:96:16: F821 undefined name 'xrange'
for i in xrange(len(class_acts)):
^
./tcav.py:120:14: F821 undefined name 'xrange'
for i in xrange(len(class_acts)):
^
./utils.py:163:62: E901 SyntaxError: invalid syntax
print '%s: TCAV score: %.2f (+- %.2f), random was %.2f' % (
^
1 E901 SyntaxError: invalid syntax
2 F821 undefined name 'xrange'
3
flake8 testing of https://github.com/tensorflow/tcav on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics