{"action":"opened","issue":{"url":"https://api.github.com/repos/zimenglan-sysu-512/Focal-Loss/issues/16","repository_url":"https://api.github.com/repos/zimenglan-sysu-512/Focal-Loss","labels_url":"https://api.github.com/repos/zimenglan-sysu-512/Focal-Loss/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/zimenglan-sysu-512/Focal-Loss/issues/16/comments","events_url":"https://api.github.com/repos/zimenglan-sysu-512/Focal-Loss/issues/16/events","html_url":"https://github.com/zimenglan-sysu-512/Focal-Loss/issues/16","id":395476758,"node_id":"MDU6SXNzdWUzOTU0NzY3NTg=","number":16,"title":"when have two classes, it not work.","user":{"login":"ngunauj","id":13215594,"node_id":"MDQ6VXNlcjEzMjE1NTk0","avatar_url":"https://avatars3.githubusercontent.com/u/13215594?v=4","gravatar_id":"","url":"https://api.github.com/users/ngunauj","html_url":"https://github.com/ngunauj","followers_url":"https://api.github.com/users/ngunauj/followers","following_url":"https://api.github.com/users/ngunauj/following{/other_user}","gists_url":"https://api.github.com/users/ngunauj/gists{/gist_id}","starred_url":"https://api.github.com/users/ngunauj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngunauj/subscriptions","organizations_url":"https://api.github.com/users/ngunauj/orgs","repos_url":"https://api.github.com/users/ngunauj/repos","events_url":"https://api.github.com/users/ngunauj/events{/privacy}","received_events_url":"https://api.github.com/users/ngunauj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T07:19:04Z","updated_at":"2019-01-03T07:19:04Z","closed_at":null,"author_association":"NONE","body":"layer {\r\n  name: \"loss_cls_pos\"\r\n  type: \"FocalLoss\"\r\n  bottom: \"rpn_cls_score_reshape\"\r\n  bottom: \"labels\"\r\n  propagate_down: 1\r\n  propagate_down: 0\r\n  top: \"loss_cls_pos\"\r\n  include { phase: TRAIN }\r\n  loss_weight: 1\r\n  loss_param { ignore_label: -1 normalize: true }\r\n  focal_loss_param { alpha: 0.75 gamma: 2 }\r\n}\r\n\r\ni have 2 classes -1 and 1. the loss is ok. but it can't classify."}}
{"actor":{"display_login":"ngunauj"}}