Closed cclauss closed 5 years ago
flake8 testing of https://github.com/zhanghang1989/gluoncv-torch on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./setup.py:12:11: F821 undefined name 'subprocess' sha = subprocess.check_output(['git', 'rev-parse', 'HEAD'], ^ ./gluoncvth/models/resnet.py:225:45: F821 undefined name 'root' get_model_file('resnet18', root=root)), strict=False) ^ ./gluoncvth/models/resnet.py:238:45: F821 undefined name 'root' get_model_file('resnet34', root=root)), strict=False) ^ ./gluoncvth/models/wideresnet.py:219:31: F821 undefined name 'torch' model.load_state_dict(torch.load( ^ 4 F821 undefined name 'root' 4
flake8 testing of https://github.com/zhanghang1989/gluoncv-torch on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics