{"action":"created","issue":{"url":"https://api.github.com/repos/faustomilletari/VNet/issues/5","repository_url":"https://api.github.com/repos/faustomilletari/VNet","labels_url":"https://api.github.com/repos/faustomilletari/VNet/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/faustomilletari/VNet/issues/5/comments","events_url":"https://api.github.com/repos/faustomilletari/VNet/issues/5/events","html_url":"https://github.com/faustomilletari/VNet/issues/5","id":188406734,"number":5,"title":"Minimizing Dice Loss","user":{"login":"rogertrullo","id":8496304,"avatar_url":"https://avatars.githubusercontent.com/u/8496304?v=3","gravatar_id":"","url":"https://api.github.com/users/rogertrullo","html_url":"https://github.com/rogertrullo","followers_url":"https://api.github.com/users/rogertrullo/followers","following_url":"https://api.github.com/users/rogertrullo/following{/other_user}","gists_url":"https://api.github.com/users/rogertrullo/gists{/gist_id}","starred_url":"https://api.github.com/users/rogertrullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogertrullo/subscriptions","organizations_url":"https://api.github.com/users/rogertrullo/orgs","repos_url":"https://api.github.com/users/rogertrullo/repos","events_url":"https://api.github.com/users/rogertrullo/events{/privacy}","received_events_url":"https://api.github.com/users/rogertrullo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-10T02:42:37Z","updated_at":"2016-11-10T02:58:36Z","closed_at":null,"body":"Hi @faustomilletari ,\r\nI was wondering, in your code and in the paper the loss is defined as the Dice ratio between the output of the network and the groundtruth. Since we are using gradient descent, that is, minimizing the loss, shouldn't we multiply by -1 the loss in order to maximize? (We want to maximize the Dice Ratio, not minimize it)"},"comment":{"url":"https://api.github.com/repos/faustomilletari/VNet/issues/comments/259589659","html_url":"https://github.com/faustomilletari/VNet/issues/5#issuecomment-259589659","issue_url":"https://api.github.com/repos/faustomilletari/VNet/issues/5","id":259589659,"user":{"login":"faustomilletari","id":13331646,"avatar_url":"https://avatars.githubusercontent.com/u/13331646?v=3","gravatar_id":"","url":"https://api.github.com/users/faustomilletari","html_url":"https://github.com/faustomilletari","followers_url":"https://api.github.com/users/faustomilletari/followers","following_url":"https://api.github.com/users/faustomilletari/following{/other_user}","gists_url":"https://api.github.com/users/faustomilletari/gists{/gist_id}","starred_url":"https://api.github.com/users/faustomilletari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faustomilletari/subscriptions","organizations_url":"https://api.github.com/users/faustomilletari/orgs","repos_url":"https://api.github.com/users/faustomilletari/repos","events_url":"https://api.github.com/users/faustomilletari/events{/privacy}","received_events_url":"https://api.github.com/users/faustomilletari/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T02:58:36Z","updated_at":"2016-11-10T02:58:36Z","body":"You can either minimise (1.0 - Dice) or maximise (Dice)… the gradient is the same (points to the direction of steepest ascent) \n\n\n> On 09 Nov 2016, at 21:42, rogertrullo <notifications@github.com> wrote:\n> \n> Hi @faustomilletari <https://github.com/faustomilletari> ,\n> I was wondering, in your code and in the paper the loss is defined as the Dice ration between the output of the network and the groundtruth. Since we are using gradient descent, that is, minimizing the loss, shouldn't we multiply by -1 the loss in order to maximize? (We want to maximize the Dice Ratio, not minimize it)\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub <https://github.com/faustomilletari/VNet/issues/5>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMtsvr8BCw7pLD2hTbSQ-kK-lbIIEKAvks5q8oSdgaJpZM4KuOKu>.\n> \n\n"}}
{"actor":{"display_login":"faustomilletari"}}