{"action":"created","issue":{"url":"https://api.github.com/repos/testdotai/classifier-builder/issues/7","repository_url":"https://api.github.com/repos/testdotai/classifier-builder","labels_url":"https://api.github.com/repos/testdotai/classifier-builder/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/testdotai/classifier-builder/issues/7/comments","events_url":"https://api.github.com/repos/testdotai/classifier-builder/issues/7/events","html_url":"https://github.com/testdotai/classifier-builder/pull/7","id":453590599,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg2MjUwNzUw","number":7,"title":"Add an ability to receive FLAGS value from other modules","user":{"login":"NozomiIto","id":4276719,"node_id":"MDQ6VXNlcjQyNzY3MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4276719?v=4","gravatar_id":"","url":"https://api.github.com/users/NozomiIto","html_url":"https://github.com/NozomiIto","followers_url":"https://api.github.com/users/NozomiIto/followers","following_url":"https://api.github.com/users/NozomiIto/following{/other_user}","gists_url":"https://api.github.com/users/NozomiIto/gists{/gist_id}","starred_url":"https://api.github.com/users/NozomiIto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NozomiIto/subscriptions","organizations_url":"https://api.github.com/users/NozomiIto/orgs","repos_url":"https://api.github.com/users/NozomiIto/repos","events_url":"https://api.github.com/users/NozomiIto/events{/privacy}","received_events_url":"https://api.github.com/users/NozomiIto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-06-07T16:12:25Z","updated_at":"2019-11-27T11:17:08Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/testdotai/classifier-builder/pulls/7","html_url":"https://github.com/testdotai/classifier-builder/pull/7","diff_url":"https://github.com/testdotai/classifier-builder/pull/7.diff","patch_url":"https://github.com/testdotai/classifier-builder/pull/7.patch"},"body":"With this flag, I can set FLAGS value from other module like the following:\r\n\r\n```\r\nfrom .retrain import main, FLAGS\r\n....\r\nFLAGS.image_dir = my_image_dir\r\n....\r\ntensorflow.app.run(main=main)\r\n```\r\n\r\nThis approach is not perfect in that default values are not defined at FLAGS object and I need to pass everything from other modules, but at least it meets my requirement."},"comment":{"url":"https://api.github.com/repos/testdotai/classifier-builder/issues/comments/559045075","html_url":"https://github.com/testdotai/classifier-builder/pull/7#issuecomment-559045075","issue_url":"https://api.github.com/repos/testdotai/classifier-builder/issues/7","id":559045075,"node_id":"MDEyOklzc3VlQ29tbWVudDU1OTA0NTA3NQ==","user":{"login":"cuihl2013","id":28687198,"node_id":"MDQ6VXNlcjI4Njg3MTk4","avatar_url":"https://avatars1.githubusercontent.com/u/28687198?v=4","gravatar_id":"","url":"https://api.github.com/users/cuihl2013","html_url":"https://github.com/cuihl2013","followers_url":"https://api.github.com/users/cuihl2013/followers","following_url":"https://api.github.com/users/cuihl2013/following{/other_user}","gists_url":"https://api.github.com/users/cuihl2013/gists{/gist_id}","starred_url":"https://api.github.com/users/cuihl2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuihl2013/subscriptions","organizations_url":"https://api.github.com/users/cuihl2013/orgs","repos_url":"https://api.github.com/users/cuihl2013/repos","events_url":"https://api.github.com/users/cuihl2013/events{/privacy}","received_events_url":"https://api.github.com/users/cuihl2013/received_events","type":"User","site_admin":false},"created_at":"2019-11-27T11:17:08Z","updated_at":"2019-11-27T11:17:08Z","author_association":"NONE","body":"Did you get the error? \"AttributeError: module 'tensorflow' has no attribute 'GrGraphaph'\"\r\n"}}
{"actor":{"display_login":"cuihl2013"}}