{"action":"created","issue":{"url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/9","repository_url":"https://api.github.com/repos/itayhubara/BinaryNet.tf","labels_url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/9/comments","events_url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/9/events","html_url":"https://github.com/itayhubara/BinaryNet.tf/issues/9","id":346597089,"node_id":"MDU6SXNzdWUzNDY1OTcwODk=","number":9,"title":"Test accuracy changes based on batch size","user":{"login":"jonkoi","id":6788673,"node_id":"MDQ6VXNlcjY3ODg2NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/6788673?v=4","gravatar_id":"","url":"https://api.github.com/users/jonkoi","html_url":"https://github.com/jonkoi","followers_url":"https://api.github.com/users/jonkoi/followers","following_url":"https://api.github.com/users/jonkoi/following{/other_user}","gists_url":"https://api.github.com/users/jonkoi/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkoi/subscriptions","organizations_url":"https://api.github.com/users/jonkoi/orgs","repos_url":"https://api.github.com/users/jonkoi/repos","events_url":"https://api.github.com/users/jonkoi/events{/privacy}","received_events_url":"https://api.github.com/users/jonkoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T13:21:07Z","updated_at":"2018-09-14T01:52:54Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nI trained BNN_cifar10 with batch size 256 and got the accuracy of 91.2% (higher than baseline cifar10) . However, when I use the evaluation script alone to test the model. I noticed that both the confidence and the test accuracy worsens as the test batch size get smaller, which should not be the case. The extreme case is batch size of 1. In this case, the model will only have 1 output. When I look at the output for each image (batch size 1), they are barely different. I checked if the input is different because of batch size but they are the same.\r\n\r\nDo you know what can cause this?"},"comment":{"url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/comments/421205541","html_url":"https://github.com/itayhubara/BinaryNet.tf/issues/9#issuecomment-421205541","issue_url":"https://api.github.com/repos/itayhubara/BinaryNet.tf/issues/9","id":421205541,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTIwNTU0MQ==","user":{"login":"mikuhatsune","id":7686325,"node_id":"MDQ6VXNlcjc2ODYzMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/7686325?v=4","gravatar_id":"","url":"https://api.github.com/users/mikuhatsune","html_url":"https://github.com/mikuhatsune","followers_url":"https://api.github.com/users/mikuhatsune/followers","following_url":"https://api.github.com/users/mikuhatsune/following{/other_user}","gists_url":"https://api.github.com/users/mikuhatsune/gists{/gist_id}","starred_url":"https://api.github.com/users/mikuhatsune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikuhatsune/subscriptions","organizations_url":"https://api.github.com/users/mikuhatsune/orgs","repos_url":"https://api.github.com/users/mikuhatsune/repos","events_url":"https://api.github.com/users/mikuhatsune/events{/privacy}","received_events_url":"https://api.github.com/users/mikuhatsune/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T01:52:54Z","updated_at":"2018-09-14T01:52:54Z","author_association":"NONE","body":"I think BatchNorm is handled incorrectly during evaluation..."}}
{"actor":{"display_login":"mikuhatsune"}}