{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/1739","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/1739/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/1739/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/1739/events","html_url":"https://github.com/dmlc/mxnet/issues/1739","id":143975900,"number":1739,"title":"fail to continue train the model of \"lstm_ptb_bucketing\"","user":{"login":"constantineshu","id":4033234,"avatar_url":"https://avatars.githubusercontent.com/u/4033234?v=3","gravatar_id":"","url":"https://api.github.com/users/constantineshu","html_url":"https://github.com/constantineshu","followers_url":"https://api.github.com/users/constantineshu/followers","following_url":"https://api.github.com/users/constantineshu/following{/other_user}","gists_url":"https://api.github.com/users/constantineshu/gists{/gist_id}","starred_url":"https://api.github.com/users/constantineshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constantineshu/subscriptions","organizations_url":"https://api.github.com/users/constantineshu/orgs","repos_url":"https://api.github.com/users/constantineshu/repos","events_url":"https://api.github.com/users/constantineshu/events{/privacy}","received_events_url":"https://api.github.com/users/constantineshu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-28T13:21:18Z","updated_at":"2016-03-28T16:57:13Z","closed_at":null,"body":"I'm new here. And I meet some problems when running the lstm_ptb_bucketing demo. \r\nI save the model with \"epoch_end_callback = mx.callback.do_checkpoint(prefix = model_prefix)\" firstly. Then I load the demo with \"model = mx.model.FeedForward.load\" and use \"model.fit()\" to continue train. But here comes the error massage.\r\n\"mxnet.base.MXNetError: [21:19:35] src/ndarray/ndarray.cc:227: Check failed: from.shape() == to->shape() operands shape mismatch\".\r\nI'm not sure how to fix it."},"comment":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/comments/202483877","html_url":"https://github.com/dmlc/mxnet/issues/1739#issuecomment-202483877","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/1739","id":202483877,"user":{"login":"constantineshu","id":4033234,"avatar_url":"https://avatars.githubusercontent.com/u/4033234?v=3","gravatar_id":"","url":"https://api.github.com/users/constantineshu","html_url":"https://github.com/constantineshu","followers_url":"https://api.github.com/users/constantineshu/followers","following_url":"https://api.github.com/users/constantineshu/following{/other_user}","gists_url":"https://api.github.com/users/constantineshu/gists{/gist_id}","starred_url":"https://api.github.com/users/constantineshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constantineshu/subscriptions","organizations_url":"https://api.github.com/users/constantineshu/orgs","repos_url":"https://api.github.com/users/constantineshu/repos","events_url":"https://api.github.com/users/constantineshu/events{/privacy}","received_events_url":"https://api.github.com/users/constantineshu/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T16:57:13Z","updated_at":"2016-03-28T16:57:13Z","body":"Thanks for your help. It really works!\r\nHowever, I meet another problem about model.predict(). \r\nAfter I load the model, and set model.symbol = None, model.sym_gen = sym_gen,\r\nI try to do prediction with \"probs = model.predict(X = test_iter)\". And I got following error message:\r\n\r\nTraceback (most recent call last):\r\n  File \"predict.py\", line 49, in <module>\r\n    probs = model.predict(X = test_iter)\r\n  File \"/home/qspace/anaconda2/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py\", line 593, in predict\r\n    self._init_predictor(data_shapes)\r\n  File \"/home/qspace/anaconda2/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py\", line 523, in _init_predictor\r\n    pred_exec = self.symbol.simple_bind(\r\nAttributeError: 'NoneType' object has no attribute 'simple_bind'\r\n\r\nDo I forget anything?"}}