{"action":"opened","issue":{"url":"https://api.github.com/repos/vithursant/MagnetLoss-PyTorch/issues/5","repository_url":"https://api.github.com/repos/vithursant/MagnetLoss-PyTorch","labels_url":"https://api.github.com/repos/vithursant/MagnetLoss-PyTorch/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/vithursant/MagnetLoss-PyTorch/issues/5/comments","events_url":"https://api.github.com/repos/vithursant/MagnetLoss-PyTorch/issues/5/events","html_url":"https://github.com/vithursant/MagnetLoss-PyTorch/issues/5","id":305186621,"number":5,"title":"Undefined names in utils/train_settings.py","user":{"login":"cclauss","id":3709715,"avatar_url":"https://avatars3.githubusercontent.com/u/3709715?v=4","gravatar_id":"","url":"https://api.github.com/users/cclauss","html_url":"https://github.com/cclauss","followers_url":"https://api.github.com/users/cclauss/followers","following_url":"https://api.github.com/users/cclauss/following{/other_user}","gists_url":"https://api.github.com/users/cclauss/gists{/gist_id}","starred_url":"https://api.github.com/users/cclauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cclauss/subscriptions","organizations_url":"https://api.github.com/users/cclauss/orgs","repos_url":"https://api.github.com/users/cclauss/repos","events_url":"https://api.github.com/users/cclauss/events{/privacy}","received_events_url":"https://api.github.com/users/cclauss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T14:39:00Z","updated_at":"2018-03-14T14:39:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"flake8 testing of https://github.com/vithursant/MagnetLoss-PyTorch on Python 3.6.3\r\n\r\n$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__\r\n```\r\n./utils/train_settings.py:31:29: F821 undefined name 'args'\r\n    directory = \"runs/%s/\"%(args.name)\r\n                            ^\r\n./utils/train_settings.py:37:5: F821 undefined name 'torch'\r\n    torch.save(state, filename)\r\n    ^\r\n./utils/train_settings.py:40:47: F821 undefined name 'args'\r\n        shutil.copyfile(filename, 'runs/%s/'%(args.name) + 'model_best.pth.tar')\r\n                                              ^\r\n3     F821 undefined name 'args'\r\n```"}}
{"actor":{"display_login":"cclauss"}}