{"action":"created","comment":{"url":"https://api.github.com/repos/chainer/chainercv/pulls/comments/134105278","pull_request_review_id":57362631,"id":134105278,"diff_hunk":"@@ -0,0 +1,26 @@\n+import unittest\n+\n+from chainer import testing\n+from chainer.testing import attr\n+\n+from chainercv.datasets import cub_label_names\n+from chainercv.datasets import CUBLabelDataset\n+from chainercv.utils import assert_is_classification_dataset\n+\n+\n+@testing.parameterize(\n+    {'crop_bbox': True},\n+    {'crop_bbox': False}\n+)\n+class TestCUBLabelDataset(unittest.TestCase):\n+\n+    def setUp(self):\n+        self.dataset = CUBLabelDataset(crop_bbox=self.crop_bbox)\n+\n+    @attr.slow\n+    def test_cub_label_dataset(self):\n+        assert_is_classification_dataset(\n+            self.dataset, len(cub_label_names), n_example=10)\n+","path":"tests/datasets_tests/cub_tests/test_cub_label_dataset.py","position":24,"original_position":24,"commit_id":"4614247ea049a86e62fe9ab35237b5b2768f4a30","original_commit_id":"4614247ea049a86e62fe9ab35237b5b2768f4a30","user":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars3.githubusercontent.com/u/2062128?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"body":"I was thinking of returning a set of bbox (shape=(1,4)).","created_at":"2017-08-20T03:20:07Z","updated_at":"2017-08-20T03:20:07Z","html_url":"https://github.com/chainer/chainercv/pull/399#discussion_r134105278","pull_request_url":"https://api.github.com/repos/chainer/chainercv/pulls/399","_links":{"self":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/comments/134105278"},"html":{"href":"https://github.com/chainer/chainercv/pull/399#discussion_r134105278"},"pull_request":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/399"}}},"pull_request":{"url":"https://api.github.com/repos/chainer/chainercv/pulls/399","id":136403547,"html_url":"https://github.com/chainer/chainercv/pull/399","diff_url":"https://github.com/chainer/chainercv/pull/399.diff","patch_url":"https://github.com/chainer/chainercv/pull/399.patch","issue_url":"https://api.github.com/repos/chainer/chainercv/issues/399","number":399,"state":"open","locked":false,"title":"Add a test for CUBLabelDataset","user":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars3.githubusercontent.com/u/2062128?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-18T05:18:27Z","updated_at":"2017-08-20T03:20:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"772ab3f9a9b7009aabaab97a1009e761d36192ba","assignee":{"login":"Hakuyume","id":3014172,"avatar_url":"https://avatars3.githubusercontent.com/u/3014172?v=4","gravatar_id":"","url":"https://api.github.com/users/Hakuyume","html_url":"https://github.com/Hakuyume","followers_url":"https://api.github.com/users/Hakuyume/followers","following_url":"https://api.github.com/users/Hakuyume/following{/other_user}","gists_url":"https://api.github.com/users/Hakuyume/gists{/gist_id}","starred_url":"https://api.github.com/users/Hakuyume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hakuyume/subscriptions","organizations_url":"https://api.github.com/users/Hakuyume/orgs","repos_url":"https://api.github.com/users/Hakuyume/repos","events_url":"https://api.github.com/users/Hakuyume/events{/privacy}","received_events_url":"https://api.github.com/users/Hakuyume/received_events","type":"User","site_admin":false},"assignees":[{"login":"Hakuyume","id":3014172,"avatar_url":"https://avatars3.githubusercontent.com/u/3014172?v=4","gravatar_id":"","url":"https://api.github.com/users/Hakuyume","html_url":"https://github.com/Hakuyume","followers_url":"https://api.github.com/users/Hakuyume/followers","following_url":"https://api.github.com/users/Hakuyume/following{/other_user}","gists_url":"https://api.github.com/users/Hakuyume/gists{/gist_id}","starred_url":"https://api.github.com/users/Hakuyume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hakuyume/subscriptions","organizations_url":"https://api.github.com/users/Hakuyume/orgs","repos_url":"https://api.github.com/users/Hakuyume/repos","events_url":"https://api.github.com/users/Hakuyume/events{/privacy}","received_events_url":"https://api.github.com/users/Hakuyume/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/chainer/chainercv/milestones/2","html_url":"https://github.com/chainer/chainercv/milestone/2","labels_url":"https://api.github.com/repos/chainer/chainercv/milestones/2/labels","id":2638153,"number":2,"title":"v0.7","description":"","creator":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars3.githubusercontent.com/u/2062128?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":26,"state":"open","created_at":"2017-07-13T02:30:04Z","updated_at":"2017-08-20T02:04:32Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/chainer/chainercv/pulls/399/commits","review_comments_url":"https://api.github.com/repos/chainer/chainercv/pulls/399/comments","review_comment_url":"https://api.github.com/repos/chainer/chainercv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chainer/chainercv/issues/399/comments","statuses_url":"https://api.github.com/repos/chainer/chainercv/statuses/4614247ea049a86e62fe9ab35237b5b2768f4a30","head":{"label":"yuyu2172:cub-label-test","ref":"cub-label-test","sha":"4614247ea049a86e62fe9ab35237b5b2768f4a30","user":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars3.githubusercontent.com/u/2062128?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"repo":{"id":84401167,"name":"chainercv","full_name":"yuyu2172/chainercv","owner":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars3.githubusercontent.com/u/2062128?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuyu2172/chainercv","description":"Versatile set of tools for Deep Learning based Computer Vision","fork":true,"url":"https://api.github.com/repos/yuyu2172/chainercv","forks_url":"https://api.github.com/repos/yuyu2172/chainercv/forks","keys_url":"https://api.github.com/repos/yuyu2172/chainercv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuyu2172/chainercv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuyu2172/chainercv/teams","hooks_url":"https://api.github.com/repos/yuyu2172/chainercv/hooks","issue_events_url":"https://api.github.com/repos/yuyu2172/chainercv/issues/events{/number}","events_url":"https://api.github.com/repos/yuyu2172/chainercv/events","assignees_url":"https://api.github.com/repos/yuyu2172/chainercv/assignees{/user}","branches_url":"https://api.github.com/repos/yuyu2172/chainercv/branches{/branch}","tags_url":"https://api.github.com/repos/yuyu2172/chainercv/tags","blobs_url":"https://api.github.com/repos/yuyu2172/chainercv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuyu2172/chainercv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuyu2172/chainercv/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuyu2172/chainercv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuyu2172/chainercv/statuses/{sha}","languages_url":"https://api.github.com/repos/yuyu2172/chainercv/languages","stargazers_url":"https://api.github.com/repos/yuyu2172/chainercv/stargazers","contributors_url":"https://api.github.com/repos/yuyu2172/chainercv/contributors","subscribers_url":"https://api.github.com/repos/yuyu2172/chainercv/subscribers","subscription_url":"https://api.github.com/repos/yuyu2172/chainercv/subscription","commits_url":"https://api.github.com/repos/yuyu2172/chainercv/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuyu2172/chainercv/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuyu2172/chainercv/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuyu2172/chainercv/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuyu2172/chainercv/contents/{+path}","compare_url":"https://api.github.com/repos/yuyu2172/chainercv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuyu2172/chainercv/merges","archive_url":"https://api.github.com/repos/yuyu2172/chainercv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuyu2172/chainercv/downloads","issues_url":"https://api.github.com/repos/yuyu2172/chainercv/issues{/number}","pulls_url":"https://api.github.com/repos/yuyu2172/chainercv/pulls{/number}","milestones_url":"https://api.github.com/repos/yuyu2172/chainercv/milestones{/number}","notifications_url":"https://api.github.com/repos/yuyu2172/chainercv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuyu2172/chainercv/labels{/name}","releases_url":"https://api.github.com/repos/yuyu2172/chainercv/releases{/id}","deployments_url":"https://api.github.com/repos/yuyu2172/chainercv/deployments","created_at":"2017-03-09T05:16:02Z","updated_at":"2017-03-09T05:16:03Z","pushed_at":"2017-08-20T02:03:38Z","git_url":"git://github.com/yuyu2172/chainercv.git","ssh_url":"git@github.com:yuyu2172/chainercv.git","clone_url":"https://github.com/yuyu2172/chainercv.git","svn_url":"https://github.com/yuyu2172/chainercv","homepage":"","size":2574,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chainer:master","ref":"master","sha":"c89ca0fc908a5fa7287df8380c900c688c5880b4","user":{"login":"chainer","id":23183003,"avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"repo":{"id":81784084,"name":"chainercv","full_name":"chainer/chainercv","owner":{"login":"chainer","id":23183003,"avatar_url":"https://avatars3.githubusercontent.com/u/23183003?v=4","gravatar_id":"","url":"https://api.github.com/users/chainer","html_url":"https://github.com/chainer","followers_url":"https://api.github.com/users/chainer/followers","following_url":"https://api.github.com/users/chainer/following{/other_user}","gists_url":"https://api.github.com/users/chainer/gists{/gist_id}","starred_url":"https://api.github.com/users/chainer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chainer/subscriptions","organizations_url":"https://api.github.com/users/chainer/orgs","repos_url":"https://api.github.com/users/chainer/repos","events_url":"https://api.github.com/users/chainer/events{/privacy}","received_events_url":"https://api.github.com/users/chainer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chainer/chainercv","description":"ChainerCV: a Library for Computer Vision in Deep Learning","fork":false,"url":"https://api.github.com/repos/chainer/chainercv","forks_url":"https://api.github.com/repos/chainer/chainercv/forks","keys_url":"https://api.github.com/repos/chainer/chainercv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chainer/chainercv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chainer/chainercv/teams","hooks_url":"https://api.github.com/repos/chainer/chainercv/hooks","issue_events_url":"https://api.github.com/repos/chainer/chainercv/issues/events{/number}","events_url":"https://api.github.com/repos/chainer/chainercv/events","assignees_url":"https://api.github.com/repos/chainer/chainercv/assignees{/user}","branches_url":"https://api.github.com/repos/chainer/chainercv/branches{/branch}","tags_url":"https://api.github.com/repos/chainer/chainercv/tags","blobs_url":"https://api.github.com/repos/chainer/chainercv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chainer/chainercv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chainer/chainercv/git/refs{/sha}","trees_url":"https://api.github.com/repos/chainer/chainercv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chainer/chainercv/statuses/{sha}","languages_url":"https://api.github.com/repos/chainer/chainercv/languages","stargazers_url":"https://api.github.com/repos/chainer/chainercv/stargazers","contributors_url":"https://api.github.com/repos/chainer/chainercv/contributors","subscribers_url":"https://api.github.com/repos/chainer/chainercv/subscribers","subscription_url":"https://api.github.com/repos/chainer/chainercv/subscription","commits_url":"https://api.github.com/repos/chainer/chainercv/commits{/sha}","git_commits_url":"https://api.github.com/repos/chainer/chainercv/git/commits{/sha}","comments_url":"https://api.github.com/repos/chainer/chainercv/comments{/number}","issue_comment_url":"https://api.github.com/repos/chainer/chainercv/issues/comments{/number}","contents_url":"https://api.github.com/repos/chainer/chainercv/contents/{+path}","compare_url":"https://api.github.com/repos/chainer/chainercv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chainer/chainercv/merges","archive_url":"https://api.github.com/repos/chainer/chainercv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chainer/chainercv/downloads","issues_url":"https://api.github.com/repos/chainer/chainercv/issues{/number}","pulls_url":"https://api.github.com/repos/chainer/chainercv/pulls{/number}","milestones_url":"https://api.github.com/repos/chainer/chainercv/milestones{/number}","notifications_url":"https://api.github.com/repos/chainer/chainercv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chainer/chainercv/labels{/name}","releases_url":"https://api.github.com/repos/chainer/chainercv/releases{/id}","deployments_url":"https://api.github.com/repos/chainer/chainercv/deployments","created_at":"2017-02-13T04:15:10Z","updated_at":"2017-08-20T02:42:21Z","pushed_at":"2017-08-20T02:26:17Z","git_url":"git://github.com/chainer/chainercv.git","ssh_url":"git@github.com:chainer/chainercv.git","clone_url":"https://github.com/chainer/chainercv.git","svn_url":"https://github.com/chainer/chainercv","homepage":"","size":1768,"stargazers_count":214,"watchers_count":214,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":53,"forks":47,"open_issues":53,"watchers":214,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/399"},"html":{"href":"https://github.com/chainer/chainercv/pull/399"},"issue":{"href":"https://api.github.com/repos/chainer/chainercv/issues/399"},"comments":{"href":"https://api.github.com/repos/chainer/chainercv/issues/399/comments"},"review_comments":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/399/comments"},"review_comment":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chainer/chainercv/pulls/399/commits"},"statuses":{"href":"https://api.github.com/repos/chainer/chainercv/statuses/4614247ea049a86e62fe9ab35237b5b2768f4a30"}}}}
{"actor":{"display_login":"yuyu2172"}}