{"action":"opened","number":129,"pull_request":{"url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129","id":188484147,"html_url":"https://github.com/team-fusionx/CarND-Capstone/pull/129","diff_url":"https://github.com/team-fusionx/CarND-Capstone/pull/129.diff","patch_url":"https://github.com/team-fusionx/CarND-Capstone/pull/129.patch","issue_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/129","number":129,"state":"open","locked":false,"title":"Split weights and model, don't run first predict","user":{"login":"teeekay","id":11139118,"avatar_url":"https://avatars3.githubusercontent.com/u/11139118?v=4","gravatar_id":"","url":"https://api.github.com/users/teeekay","html_url":"https://github.com/teeekay","followers_url":"https://api.github.com/users/teeekay/followers","following_url":"https://api.github.com/users/teeekay/following{/other_user}","gists_url":"https://api.github.com/users/teeekay/gists{/gist_id}","starred_url":"https://api.github.com/users/teeekay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teeekay/subscriptions","organizations_url":"https://api.github.com/users/teeekay/orgs","repos_url":"https://api.github.com/users/teeekay/repos","events_url":"https://api.github.com/users/teeekay/events{/privacy}","received_events_url":"https://api.github.com/users/teeekay/received_events","type":"User","site_admin":false},"body":"Made some mods to try to speed up load -   Don't have time to go further today, but wanted to pass this along in case you do.\r\n\r\nsplit model into json and weights - load speed improved by about 40% (model size decreased by about half).  Code to create split file is commented out in TLClassifier and comes from https://stackoverflow.com/questions/47455397/extremely-slow-model-load-with-keras\r\n\r\nadded Keras.clear_session() - no observable impact, but my test runs do not happen after other models have been  loaded on my machine. (Using this also based on stackoverflow info above)\r\n\r\nNot sure what first model.predict with zeros does in TLClassifier __init__, but it takes 2 secs.  this needs to be investigated to see if it slows down first classification.\r\n\r\nTried moving rospy.init_node() in TLDetector, but lost logging in TLClassifier init. Process has to be completed anyway.  is there a way to do this in parallel to starting TLClassifier, rather than in serial?\r\n","created_at":"2018-05-16T16:05:55Z","updated_at":"2018-05-16T16:05:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129/commits","review_comments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129/comments","review_comment_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/129/comments","statuses_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/statuses/ac7f405c83a7a2371718a766b9c9addcb0e0dcfd","head":{"label":"team-fusionx:teeekay_tl_startup_mods","ref":"teeekay_tl_startup_mods","sha":"ac7f405c83a7a2371718a766b9c9addcb0e0dcfd","user":{"login":"team-fusionx","id":36865047,"avatar_url":"https://avatars3.githubusercontent.com/u/36865047?v=4","gravatar_id":"","url":"https://api.github.com/users/team-fusionx","html_url":"https://github.com/team-fusionx","followers_url":"https://api.github.com/users/team-fusionx/followers","following_url":"https://api.github.com/users/team-fusionx/following{/other_user}","gists_url":"https://api.github.com/users/team-fusionx/gists{/gist_id}","starred_url":"https://api.github.com/users/team-fusionx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-fusionx/subscriptions","organizations_url":"https://api.github.com/users/team-fusionx/orgs","repos_url":"https://api.github.com/users/team-fusionx/repos","events_url":"https://api.github.com/users/team-fusionx/events{/privacy}","received_events_url":"https://api.github.com/users/team-fusionx/received_events","type":"Organization","site_admin":false},"repo":{"id":123031704,"name":"CarND-Capstone","full_name":"team-fusionx/CarND-Capstone","owner":{"login":"team-fusionx","id":36865047,"avatar_url":"https://avatars3.githubusercontent.com/u/36865047?v=4","gravatar_id":"","url":"https://api.github.com/users/team-fusionx","html_url":"https://github.com/team-fusionx","followers_url":"https://api.github.com/users/team-fusionx/followers","following_url":"https://api.github.com/users/team-fusionx/following{/other_user}","gists_url":"https://api.github.com/users/team-fusionx/gists{/gist_id}","starred_url":"https://api.github.com/users/team-fusionx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-fusionx/subscriptions","organizations_url":"https://api.github.com/users/team-fusionx/orgs","repos_url":"https://api.github.com/users/team-fusionx/repos","events_url":"https://api.github.com/users/team-fusionx/events{/privacy}","received_events_url":"https://api.github.com/users/team-fusionx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/team-fusionx/CarND-Capstone","description":"Team FusionX - Capstone Project for Udacity Self-Driving Car Nanodegree","fork":true,"url":"https://api.github.com/repos/team-fusionx/CarND-Capstone","forks_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/forks","keys_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/teams","hooks_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/hooks","issue_events_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/events{/number}","events_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/events","assignees_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/assignees{/user}","branches_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/branches{/branch}","tags_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/tags","blobs_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/statuses/{sha}","languages_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/languages","stargazers_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/stargazers","contributors_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/contributors","subscribers_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/subscribers","subscription_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/subscription","commits_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/contents/{+path}","compare_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/merges","archive_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/downloads","issues_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues{/number}","pulls_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls{/number}","milestones_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/milestones{/number}","notifications_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/labels{/name}","releases_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/releases{/id}","deployments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/deployments","created_at":"2018-02-26T21:17:31Z","updated_at":"2018-05-04T22:28:42Z","pushed_at":"2018-05-16T15:34:57Z","git_url":"git://github.com/team-fusionx/CarND-Capstone.git","ssh_url":"git@github.com:team-fusionx/CarND-Capstone.git","clone_url":"https://github.com/team-fusionx/CarND-Capstone.git","svn_url":"https://github.com/team-fusionx/CarND-Capstone","homepage":"","size":306688,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"team-fusionx:master","ref":"master","sha":"6f35721833ed6d6c03ac43729171e28fe85ea452","user":{"login":"team-fusionx","id":36865047,"avatar_url":"https://avatars3.githubusercontent.com/u/36865047?v=4","gravatar_id":"","url":"https://api.github.com/users/team-fusionx","html_url":"https://github.com/team-fusionx","followers_url":"https://api.github.com/users/team-fusionx/followers","following_url":"https://api.github.com/users/team-fusionx/following{/other_user}","gists_url":"https://api.github.com/users/team-fusionx/gists{/gist_id}","starred_url":"https://api.github.com/users/team-fusionx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-fusionx/subscriptions","organizations_url":"https://api.github.com/users/team-fusionx/orgs","repos_url":"https://api.github.com/users/team-fusionx/repos","events_url":"https://api.github.com/users/team-fusionx/events{/privacy}","received_events_url":"https://api.github.com/users/team-fusionx/received_events","type":"Organization","site_admin":false},"repo":{"id":123031704,"name":"CarND-Capstone","full_name":"team-fusionx/CarND-Capstone","owner":{"login":"team-fusionx","id":36865047,"avatar_url":"https://avatars3.githubusercontent.com/u/36865047?v=4","gravatar_id":"","url":"https://api.github.com/users/team-fusionx","html_url":"https://github.com/team-fusionx","followers_url":"https://api.github.com/users/team-fusionx/followers","following_url":"https://api.github.com/users/team-fusionx/following{/other_user}","gists_url":"https://api.github.com/users/team-fusionx/gists{/gist_id}","starred_url":"https://api.github.com/users/team-fusionx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/team-fusionx/subscriptions","organizations_url":"https://api.github.com/users/team-fusionx/orgs","repos_url":"https://api.github.com/users/team-fusionx/repos","events_url":"https://api.github.com/users/team-fusionx/events{/privacy}","received_events_url":"https://api.github.com/users/team-fusionx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/team-fusionx/CarND-Capstone","description":"Team FusionX - Capstone Project for Udacity Self-Driving Car Nanodegree","fork":true,"url":"https://api.github.com/repos/team-fusionx/CarND-Capstone","forks_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/forks","keys_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/teams","hooks_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/hooks","issue_events_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/events{/number}","events_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/events","assignees_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/assignees{/user}","branches_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/branches{/branch}","tags_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/tags","blobs_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/statuses/{sha}","languages_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/languages","stargazers_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/stargazers","contributors_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/contributors","subscribers_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/subscribers","subscription_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/subscription","commits_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/contents/{+path}","compare_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/merges","archive_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/downloads","issues_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues{/number}","pulls_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls{/number}","milestones_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/milestones{/number}","notifications_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/labels{/name}","releases_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/releases{/id}","deployments_url":"https://api.github.com/repos/team-fusionx/CarND-Capstone/deployments","created_at":"2018-02-26T21:17:31Z","updated_at":"2018-05-04T22:28:42Z","pushed_at":"2018-05-16T15:34:57Z","git_url":"git://github.com/team-fusionx/CarND-Capstone.git","ssh_url":"git@github.com:team-fusionx/CarND-Capstone.git","clone_url":"https://github.com/team-fusionx/CarND-Capstone.git","svn_url":"https://github.com/team-fusionx/CarND-Capstone","homepage":"","size":306688,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129"},"html":{"href":"https://github.com/team-fusionx/CarND-Capstone/pull/129"},"issue":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/129"},"comments":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/team-fusionx/CarND-Capstone/statuses/ac7f405c83a7a2371718a766b9c9addcb0e0dcfd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":46,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"teeekay"}}