{"action":"opened","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/5590","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/5590/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/5590/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/5590/events","html_url":"https://github.com/dmlc/mxnet/issues/5590","id":217415418,"number":5590,"title":"callbacks destroy 'value' in BatchEndParam for subsequent callbacks of that type","user":{"login":"jmerkow","id":5933681,"avatar_url":"https://avatars1.githubusercontent.com/u/5933681?v=3","gravatar_id":"","url":"https://api.github.com/users/jmerkow","html_url":"https://github.com/jmerkow","followers_url":"https://api.github.com/users/jmerkow/followers","following_url":"https://api.github.com/users/jmerkow/following{/other_user}","gists_url":"https://api.github.com/users/jmerkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jmerkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmerkow/subscriptions","organizations_url":"https://api.github.com/users/jmerkow/orgs","repos_url":"https://api.github.com/users/jmerkow/repos","events_url":"https://api.github.com/users/jmerkow/events{/privacy}","received_events_url":"https://api.github.com/users/jmerkow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-28T00:39:53Z","updated_at":"2017-03-28T00:39:53Z","closed_at":null,"body":"It appears that calling one callback seem destroy the value in BatchEndParam.\r\n\r\nUsing callbacks like:\r\n```\r\n    batch_end_callbacks = [mx.callback.Speedometer(args.batch_size, 20),\r\n                           mx.callback.Speedometer(args.batch_size, 10)]\r\n```\r\n\r\nThis results in the following log:\r\n\r\n> INFO:root:Epoch[0] Batch [10]   Speed: 60.70 samples/sec        Train-accuracy=0.122869\r\n> INFO:root:Epoch[0] Batch [20]   Speed: 60.85 samples/sec        Train-accuracy=0.157031\r\n> INFO:root:Epoch[0] Batch [20]   Speed: 61.00 samples/sec        Train-accuracy=nan\r\n> INFO:root:Epoch[0] Batch [30]   Speed: 61.01 samples/sec        Train-accuracy=0.164844\r\n> INFO:root:Epoch[0] Batch [40]   Speed: 61.20 samples/sec        Train-accuracy=0.191406\r\n> INFO:root:Epoch[0] Batch [40]   Speed: 61.39 samples/sec        Train-accuracy=nan\r\n> INFO:root:Epoch[0] Batch [50]   Speed: 60.78 samples/sec        Train-accuracy=0.194531\r\n> INFO:root:Epoch[0] Batch [60]   Speed: 60.84 samples/sec        Train-accuracy=0.221875\r\n> INFO:root:Epoch[0] Batch [60]   Speed: 60.90 samples/sec        Train-accuracy=nan"}}
{"actor":{"display_login":"jmerkow"}}