{"action":"created","comment":{"url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/comments/216706599","pull_request_review_id":154249192,"id":216706599,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjcwNjU5OQ==","diff_hunk":"@@ -425,20 +438,24 @@ def main(args=None):\n         print('Loading model, this may take a second...')\n         model            = models.load_model(args.snapshot, backbone_name=args.backbone)\n         training_model   = model\n-        prediction_model = retinanet_bbox(model=model)\n+        if args.config and 'anchor_parameters' in args.config:\n+            anchor_params = parse_anchor_parameters(args.config)\n+            prediction_model = retinanet_bbox(model=model, anchor_params=anchor_params)\n+        else:\n+            prediction_model = retinanet_bbox(model=model)\n     else:\n         weights = args.weights\n         # default to imagenet if nothing else is specified\n         if weights is None and args.imagenet_weights:\n             weights = backbone.download_imagenet()\n-","path":"keras_retinanet/bin/train.py","position":118,"original_position":118,"commit_id":"6468d2af3e555b4c30fc08a49599d24d60e65762","original_commit_id":"6468d2af3e555b4c30fc08a49599d24d60e65762","user":{"login":"vcarpani","id":38493091,"node_id":"MDQ6VXNlcjM4NDkzMDkx","avatar_url":"https://avatars3.githubusercontent.com/u/38493091?v=4","gravatar_id":"","url":"https://api.github.com/users/vcarpani","html_url":"https://github.com/vcarpani","followers_url":"https://api.github.com/users/vcarpani/followers","following_url":"https://api.github.com/users/vcarpani/following{/other_user}","gists_url":"https://api.github.com/users/vcarpani/gists{/gist_id}","starred_url":"https://api.github.com/users/vcarpani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcarpani/subscriptions","organizations_url":"https://api.github.com/users/vcarpani/orgs","repos_url":"https://api.github.com/users/vcarpani/repos","events_url":"https://api.github.com/users/vcarpani/events{/privacy}","received_events_url":"https://api.github.com/users/vcarpani/received_events","type":"User","site_admin":false},"body":"Why did you remove this line?","created_at":"2018-09-11T15:10:53Z","updated_at":"2018-09-11T15:15:35Z","html_url":"https://github.com/fizyr/keras-retinanet/pull/674#discussion_r216706599","pull_request_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/comments/216706599"},"html":{"href":"https://github.com/fizyr/keras-retinanet/pull/674#discussion_r216706599"},"pull_request":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674"}}},"pull_request":{"url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674","id":214662956,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NjYyOTU2","html_url":"https://github.com/fizyr/keras-retinanet/pull/674","diff_url":"https://github.com/fizyr/keras-retinanet/pull/674.diff","patch_url":"https://github.com/fizyr/keras-retinanet/pull/674.patch","issue_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/674","number":674,"state":"open","locked":false,"title":"Config parsing","user":{"login":"enricoliscio","id":32513935,"node_id":"MDQ6VXNlcjMyNTEzOTM1","avatar_url":"https://avatars0.githubusercontent.com/u/32513935?v=4","gravatar_id":"","url":"https://api.github.com/users/enricoliscio","html_url":"https://github.com/enricoliscio","followers_url":"https://api.github.com/users/enricoliscio/followers","following_url":"https://api.github.com/users/enricoliscio/following{/other_user}","gists_url":"https://api.github.com/users/enricoliscio/gists{/gist_id}","starred_url":"https://api.github.com/users/enricoliscio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricoliscio/subscriptions","organizations_url":"https://api.github.com/users/enricoliscio/orgs","repos_url":"https://api.github.com/users/enricoliscio/repos","events_url":"https://api.github.com/users/enricoliscio/events{/privacy}","received_events_url":"https://api.github.com/users/enricoliscio/received_events","type":"User","site_admin":false},"body":"Add option to parse an .ini config file. For now supports only anchor parameters.\r\nFollows from suggestion of @yecharlie.","created_at":"2018-09-11T14:58:38Z","updated_at":"2018-09-11T15:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2527a6f6eb4f4555f444616d1864867750ec3922","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hgaiser","id":716138,"node_id":"MDQ6VXNlcjcxNjEzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/716138?v=4","gravatar_id":"","url":"https://api.github.com/users/hgaiser","html_url":"https://github.com/hgaiser","followers_url":"https://api.github.com/users/hgaiser/followers","following_url":"https://api.github.com/users/hgaiser/following{/other_user}","gists_url":"https://api.github.com/users/hgaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/hgaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgaiser/subscriptions","organizations_url":"https://api.github.com/users/hgaiser/orgs","repos_url":"https://api.github.com/users/hgaiser/repos","events_url":"https://api.github.com/users/hgaiser/events{/privacy}","received_events_url":"https://api.github.com/users/hgaiser/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674/commits","review_comments_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674/comments","review_comment_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/674/comments","statuses_url":"https://api.github.com/repos/fizyr/keras-retinanet/statuses/6468d2af3e555b4c30fc08a49599d24d60e65762","head":{"label":"fizyr:config-parsing","ref":"config-parsing","sha":"6468d2af3e555b4c30fc08a49599d24d60e65762","user":{"login":"fizyr","id":14974733,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTc0NzMz","avatar_url":"https://avatars0.githubusercontent.com/u/14974733?v=4","gravatar_id":"","url":"https://api.github.com/users/fizyr","html_url":"https://github.com/fizyr","followers_url":"https://api.github.com/users/fizyr/followers","following_url":"https://api.github.com/users/fizyr/following{/other_user}","gists_url":"https://api.github.com/users/fizyr/gists{/gist_id}","starred_url":"https://api.github.com/users/fizyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizyr/subscriptions","organizations_url":"https://api.github.com/users/fizyr/orgs","repos_url":"https://api.github.com/users/fizyr/repos","events_url":"https://api.github.com/users/fizyr/events{/privacy}","received_events_url":"https://api.github.com/users/fizyr/received_events","type":"Organization","site_admin":false},"repo":{"id":100249425,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAyNDk0MjU=","name":"keras-retinanet","full_name":"fizyr/keras-retinanet","owner":{"login":"fizyr","id":14974733,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTc0NzMz","avatar_url":"https://avatars0.githubusercontent.com/u/14974733?v=4","gravatar_id":"","url":"https://api.github.com/users/fizyr","html_url":"https://github.com/fizyr","followers_url":"https://api.github.com/users/fizyr/followers","following_url":"https://api.github.com/users/fizyr/following{/other_user}","gists_url":"https://api.github.com/users/fizyr/gists{/gist_id}","starred_url":"https://api.github.com/users/fizyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizyr/subscriptions","organizations_url":"https://api.github.com/users/fizyr/orgs","repos_url":"https://api.github.com/users/fizyr/repos","events_url":"https://api.github.com/users/fizyr/events{/privacy}","received_events_url":"https://api.github.com/users/fizyr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fizyr/keras-retinanet","description":"Keras implementation of RetinaNet object detection.","fork":false,"url":"https://api.github.com/repos/fizyr/keras-retinanet","forks_url":"https://api.github.com/repos/fizyr/keras-retinanet/forks","keys_url":"https://api.github.com/repos/fizyr/keras-retinanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fizyr/keras-retinanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fizyr/keras-retinanet/teams","hooks_url":"https://api.github.com/repos/fizyr/keras-retinanet/hooks","issue_events_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/events{/number}","events_url":"https://api.github.com/repos/fizyr/keras-retinanet/events","assignees_url":"https://api.github.com/repos/fizyr/keras-retinanet/assignees{/user}","branches_url":"https://api.github.com/repos/fizyr/keras-retinanet/branches{/branch}","tags_url":"https://api.github.com/repos/fizyr/keras-retinanet/tags","blobs_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fizyr/keras-retinanet/statuses/{sha}","languages_url":"https://api.github.com/repos/fizyr/keras-retinanet/languages","stargazers_url":"https://api.github.com/repos/fizyr/keras-retinanet/stargazers","contributors_url":"https://api.github.com/repos/fizyr/keras-retinanet/contributors","subscribers_url":"https://api.github.com/repos/fizyr/keras-retinanet/subscribers","subscription_url":"https://api.github.com/repos/fizyr/keras-retinanet/subscription","commits_url":"https://api.github.com/repos/fizyr/keras-retinanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/fizyr/keras-retinanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/fizyr/keras-retinanet/contents/{+path}","compare_url":"https://api.github.com/repos/fizyr/keras-retinanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fizyr/keras-retinanet/merges","archive_url":"https://api.github.com/repos/fizyr/keras-retinanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fizyr/keras-retinanet/downloads","issues_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues{/number}","pulls_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls{/number}","milestones_url":"https://api.github.com/repos/fizyr/keras-retinanet/milestones{/number}","notifications_url":"https://api.github.com/repos/fizyr/keras-retinanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fizyr/keras-retinanet/labels{/name}","releases_url":"https://api.github.com/repos/fizyr/keras-retinanet/releases{/id}","deployments_url":"https://api.github.com/repos/fizyr/keras-retinanet/deployments","created_at":"2017-08-14T09:14:29Z","updated_at":"2018-09-11T13:22:06Z","pushed_at":"2018-09-11T14:58:39Z","git_url":"git://github.com/fizyr/keras-retinanet.git","ssh_url":"git@github.com:fizyr/keras-retinanet.git","clone_url":"https://github.com/fizyr/keras-retinanet.git","svn_url":"https://github.com/fizyr/keras-retinanet","homepage":null,"size":12564,"stargazers_count":1577,"watchers_count":1577,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":639,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":639,"open_issues":21,"watchers":1577,"default_branch":"master"}},"base":{"label":"fizyr:master","ref":"master","sha":"6d6f2b6c35c7cb5880b407b8d85a1f47ca6a5ed5","user":{"login":"fizyr","id":14974733,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTc0NzMz","avatar_url":"https://avatars0.githubusercontent.com/u/14974733?v=4","gravatar_id":"","url":"https://api.github.com/users/fizyr","html_url":"https://github.com/fizyr","followers_url":"https://api.github.com/users/fizyr/followers","following_url":"https://api.github.com/users/fizyr/following{/other_user}","gists_url":"https://api.github.com/users/fizyr/gists{/gist_id}","starred_url":"https://api.github.com/users/fizyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizyr/subscriptions","organizations_url":"https://api.github.com/users/fizyr/orgs","repos_url":"https://api.github.com/users/fizyr/repos","events_url":"https://api.github.com/users/fizyr/events{/privacy}","received_events_url":"https://api.github.com/users/fizyr/received_events","type":"Organization","site_admin":false},"repo":{"id":100249425,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAyNDk0MjU=","name":"keras-retinanet","full_name":"fizyr/keras-retinanet","owner":{"login":"fizyr","id":14974733,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTc0NzMz","avatar_url":"https://avatars0.githubusercontent.com/u/14974733?v=4","gravatar_id":"","url":"https://api.github.com/users/fizyr","html_url":"https://github.com/fizyr","followers_url":"https://api.github.com/users/fizyr/followers","following_url":"https://api.github.com/users/fizyr/following{/other_user}","gists_url":"https://api.github.com/users/fizyr/gists{/gist_id}","starred_url":"https://api.github.com/users/fizyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizyr/subscriptions","organizations_url":"https://api.github.com/users/fizyr/orgs","repos_url":"https://api.github.com/users/fizyr/repos","events_url":"https://api.github.com/users/fizyr/events{/privacy}","received_events_url":"https://api.github.com/users/fizyr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fizyr/keras-retinanet","description":"Keras implementation of RetinaNet object detection.","fork":false,"url":"https://api.github.com/repos/fizyr/keras-retinanet","forks_url":"https://api.github.com/repos/fizyr/keras-retinanet/forks","keys_url":"https://api.github.com/repos/fizyr/keras-retinanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fizyr/keras-retinanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fizyr/keras-retinanet/teams","hooks_url":"https://api.github.com/repos/fizyr/keras-retinanet/hooks","issue_events_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/events{/number}","events_url":"https://api.github.com/repos/fizyr/keras-retinanet/events","assignees_url":"https://api.github.com/repos/fizyr/keras-retinanet/assignees{/user}","branches_url":"https://api.github.com/repos/fizyr/keras-retinanet/branches{/branch}","tags_url":"https://api.github.com/repos/fizyr/keras-retinanet/tags","blobs_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fizyr/keras-retinanet/statuses/{sha}","languages_url":"https://api.github.com/repos/fizyr/keras-retinanet/languages","stargazers_url":"https://api.github.com/repos/fizyr/keras-retinanet/stargazers","contributors_url":"https://api.github.com/repos/fizyr/keras-retinanet/contributors","subscribers_url":"https://api.github.com/repos/fizyr/keras-retinanet/subscribers","subscription_url":"https://api.github.com/repos/fizyr/keras-retinanet/subscription","commits_url":"https://api.github.com/repos/fizyr/keras-retinanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/fizyr/keras-retinanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/fizyr/keras-retinanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/fizyr/keras-retinanet/contents/{+path}","compare_url":"https://api.github.com/repos/fizyr/keras-retinanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fizyr/keras-retinanet/merges","archive_url":"https://api.github.com/repos/fizyr/keras-retinanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fizyr/keras-retinanet/downloads","issues_url":"https://api.github.com/repos/fizyr/keras-retinanet/issues{/number}","pulls_url":"https://api.github.com/repos/fizyr/keras-retinanet/pulls{/number}","milestones_url":"https://api.github.com/repos/fizyr/keras-retinanet/milestones{/number}","notifications_url":"https://api.github.com/repos/fizyr/keras-retinanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fizyr/keras-retinanet/labels{/name}","releases_url":"https://api.github.com/repos/fizyr/keras-retinanet/releases{/id}","deployments_url":"https://api.github.com/repos/fizyr/keras-retinanet/deployments","created_at":"2017-08-14T09:14:29Z","updated_at":"2018-09-11T13:22:06Z","pushed_at":"2018-09-11T14:58:39Z","git_url":"git://github.com/fizyr/keras-retinanet.git","ssh_url":"git@github.com:fizyr/keras-retinanet.git","clone_url":"https://github.com/fizyr/keras-retinanet.git","svn_url":"https://github.com/fizyr/keras-retinanet","homepage":null,"size":12564,"stargazers_count":1577,"watchers_count":1577,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":639,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":639,"open_issues":21,"watchers":1577,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674"},"html":{"href":"https://github.com/fizyr/keras-retinanet/pull/674"},"issue":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/issues/674"},"comments":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/issues/674/comments"},"review_comments":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674/comments"},"review_comment":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/pulls/674/commits"},"statuses":{"href":"https://api.github.com/repos/fizyr/keras-retinanet/statuses/6468d2af3e555b4c30fc08a49599d24d60e65762"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"vcarpani"}}