{"action":"opened","issue":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/536","repository_url":"https://api.github.com/repos/vlfeat/matconvnet","labels_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/536/comments","events_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/536/events","html_url":"https://github.com/vlfeat/matconvnet/issues/536","id":153722084,"number":536,"title":"MNIST example fails on line 127: Subscripted assignment between dissimilar structures.","user":{"login":"Thrasi","id":5024283,"avatar_url":"https://avatars.githubusercontent.com/u/5024283?v=3","gravatar_id":"","url":"https://api.github.com/users/Thrasi","html_url":"https://github.com/Thrasi","followers_url":"https://api.github.com/users/Thrasi/followers","following_url":"https://api.github.com/users/Thrasi/following{/other_user}","gists_url":"https://api.github.com/users/Thrasi/gists{/gist_id}","starred_url":"https://api.github.com/users/Thrasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thrasi/subscriptions","organizations_url":"https://api.github.com/users/Thrasi/orgs","repos_url":"https://api.github.com/users/Thrasi/repos","events_url":"https://api.github.com/users/Thrasi/events{/privacy}","received_events_url":"https://api.github.com/users/Thrasi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T07:59:53Z","updated_at":"2016-05-09T07:59:53Z","closed_at":null,"body":"I installed matconvnet-1.0-beta19\r\nby running:\r\n\r\n> addpath matlab\r\n> vl_compilenn('enableGpu', true)\r\n\r\nThen I go to examples/mnist and run:\r\n\r\n> cnn_mnist\r\n\r\nwhich proceeds to train for 2 epochs but at the end of the second one I receive the following information:\r\n```\r\ntrain: epoch 02: 599/600: 1639.3 (1623.0) Hz objective: 0.058 top1err: 0.018 top5err: 0.000\r\ntrain: epoch 02: 600/600: 1639.2 (1616.6) Hz objective: 0.058 top1err: 0.018 top5err: 0.000\r\nSubscripted assignment between dissimilar structures.\r\n\r\nError in cnn_train (line 127)\r\n    [net,stats.train(epoch),prof] = process_epoch(net, state, opts, 'train') ;\r\n\r\nError in cnn_mnist (line 48)\r\n[net, info] = trainfn(net, imdb, getBatch(opts), ...\r\n\r\n```\r\n"}}