{"action":"opened","issue":{"url":"https://api.github.com/repos/DagnyT/hardnet/issues/25","repository_url":"https://api.github.com/repos/DagnyT/hardnet","labels_url":"https://api.github.com/repos/DagnyT/hardnet/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/DagnyT/hardnet/issues/25/comments","events_url":"https://api.github.com/repos/DagnyT/hardnet/issues/25/events","html_url":"https://github.com/DagnyT/hardnet/issues/25","id":370617523,"node_id":"MDU6SXNzdWUzNzA2MTc1MjM=","number":25,"title":"Waht's the meaning of this line?","user":{"login":"yunyundong","id":24907398,"node_id":"MDQ6VXNlcjI0OTA3Mzk4","avatar_url":"https://avatars2.githubusercontent.com/u/24907398?v=4","gravatar_id":"","url":"https://api.github.com/users/yunyundong","html_url":"https://github.com/yunyundong","followers_url":"https://api.github.com/users/yunyundong/followers","following_url":"https://api.github.com/users/yunyundong/following{/other_user}","gists_url":"https://api.github.com/users/yunyundong/gists{/gist_id}","starred_url":"https://api.github.com/users/yunyundong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunyundong/subscriptions","organizations_url":"https://api.github.com/users/yunyundong/orgs","repos_url":"https://api.github.com/users/yunyundong/repos","events_url":"https://api.github.com/users/yunyundong/events{/privacy}","received_events_url":"https://api.github.com/users/yunyundong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T13:39:52Z","updated_at":"2018-10-16T13:39:52Z","closed_at":null,"author_association":"NONE","body":"[labels = torch.cat([labels,datasets[i][1]])+torch.max(labels)+1](https://github.com/DagnyT/hardnet/blob/9588b957724c394df6b12c03ba2509df6118a7fe/code/dataloaders/TotalDataLoader.py#L19)\r\n\r\nSeemingly,  assume that length of  datasets[0][1] and dataset[1][1]  is n1, and n2 respectively and (n1<n2). So, datasets[0][1][:n1]==datasets[1][1][:n1], but they are not the positive pairs. \r\nIs it right? the original line is a  bug ? @ducha-aiki  @DagnyT  @spongezhang  "}}
{"actor":{"display_login":"yunyundong"}}