{"action":"created","issue":{"url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/16","repository_url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce","labels_url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/16/comments","events_url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/16/events","html_url":"https://github.com/holyseven/PSPNet-TF-Reproduce/issues/16","id":374837462,"node_id":"MDU6SXNzdWUzNzQ4Mzc0NjI=","number":16,"title":"shouldn't we use moving_mean and moving_bar in training mode instead of batch mean and var？","user":{"login":"jonhe88","id":43697460,"node_id":"MDQ6VXNlcjQzNjk3NDYw","avatar_url":"https://avatars1.githubusercontent.com/u/43697460?v=4","gravatar_id":"","url":"https://api.github.com/users/jonhe88","html_url":"https://github.com/jonhe88","followers_url":"https://api.github.com/users/jonhe88/followers","following_url":"https://api.github.com/users/jonhe88/following{/other_user}","gists_url":"https://api.github.com/users/jonhe88/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhe88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhe88/subscriptions","organizations_url":"https://api.github.com/users/jonhe88/orgs","repos_url":"https://api.github.com/users/jonhe88/repos","events_url":"https://api.github.com/users/jonhe88/events{/privacy}","received_events_url":"https://api.github.com/users/jonhe88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-29T02:47:25Z","updated_at":"2018-10-29T07:58:33Z","closed_at":null,"author_association":"NONE","body":"                if 'train' in stats_mode:\r\n                    xn = tf.nn.batch_normalization(\r\n                        list_input[i], mean, var, beta, gamma, bn_epsilon)\r\n                    if tf.get_variable_scope().reuse or 'gather' not in stats_mode:\r\n                        list_output.append(xn)\r\n                    else:\r\n                        # gather stats and it is the main gpu device.\r\n                        xn = update_bn_ema(xn, mean, var, moving_mean, moving_var, bn_ema)\r\n                        list_output.append(xn)\r\n                else:\r\n                    xn = tf.nn.batch_normalization(\r\n                        list_input[i], moving_mean, moving_var, beta, gamma, bn_epsilon)\r\n                    list_output.append(xn)"},"comment":{"url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/comments/433818603","html_url":"https://github.com/holyseven/PSPNet-TF-Reproduce/issues/16#issuecomment-433818603","issue_url":"https://api.github.com/repos/holyseven/PSPNet-TF-Reproduce/issues/16","id":433818603,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzgxODYwMw==","user":{"login":"holyseven","id":13829174,"node_id":"MDQ6VXNlcjEzODI5MTc0","avatar_url":"https://avatars3.githubusercontent.com/u/13829174?v=4","gravatar_id":"","url":"https://api.github.com/users/holyseven","html_url":"https://github.com/holyseven","followers_url":"https://api.github.com/users/holyseven/followers","following_url":"https://api.github.com/users/holyseven/following{/other_user}","gists_url":"https://api.github.com/users/holyseven/gists{/gist_id}","starred_url":"https://api.github.com/users/holyseven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyseven/subscriptions","organizations_url":"https://api.github.com/users/holyseven/orgs","repos_url":"https://api.github.com/users/holyseven/repos","events_url":"https://api.github.com/users/holyseven/events{/privacy}","received_events_url":"https://api.github.com/users/holyseven/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T07:58:33Z","updated_at":"2018-10-29T07:58:33Z","author_association":"OWNER","body":"Why do you think we should use moving mean and var in BN during training?"}}
{"actor":{"display_login":"holyseven"}}