{"action":"closed","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/946","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/946/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/946/events","html_url":"https://github.com/dmlc/mxnet/issues/946","id":122330901,"number":946,"title":"Loading a model","user":{"login":"jmschrei","id":3916816,"avatar_url":"https://avatars.githubusercontent.com/u/3916816?v=3","gravatar_id":"","url":"https://api.github.com/users/jmschrei","html_url":"https://github.com/jmschrei","followers_url":"https://api.github.com/users/jmschrei/followers","following_url":"https://api.github.com/users/jmschrei/following{/other_user}","gists_url":"https://api.github.com/users/jmschrei/gists{/gist_id}","starred_url":"https://api.github.com/users/jmschrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmschrei/subscriptions","organizations_url":"https://api.github.com/users/jmschrei/orgs","repos_url":"https://api.github.com/users/jmschrei/repos","events_url":"https://api.github.com/users/jmschrei/events{/privacy}","received_events_url":"https://api.github.com/users/jmschrei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-15T18:05:22Z","updated_at":"2016-05-07T04:07:40Z","closed_at":"2016-05-07T04:07:40Z","body":"I was able to train a model for 25 epochs and save the parameters after each one. I wanted to then test it.  I attempted to load the model using\r\n\r\n```\r\nfor i in range(1, 26):\r\n\tmodel = mx.model.FeedForward.load( 'rambutan', i )\r\n```\r\n\r\nI get the following error: \r\n\r\n```\r\n[jmschr@n025 scripts]$ python eval.py\r\n[10:01:31] ./dmlc-core/include/dmlc/logging.h:208: [10:01:31] src/operator/./pooling-inl.h:80: Check failed: (param_.stride[0]) == (param_.stride[1]) Only same stride is supported now\r\n[10:01:31] ./dmlc-core/include/dmlc/logging.h:208: [10:01:31] src/engine/./threaded_engine.h:295: [10:01:31] src/operator/./pooling-inl.h:80: Check failed: (param_.stride[0]) == (param_.stride[1]) Only same stride is supported now\r\nAn fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPEto NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.\r\nterminate called after throwing an instance of 'dmlc::Error'\r\n  what():  [10:01:31] src/engine/./threaded_engine.h:295: [10:01:31] src/operator/./pooling-inl.h:80: Check failed: (param_.stride[0]) == (param_.stride[1]) Only same stride is supported now\r\nAn fatal error occurred in asynchronous engine operation. If you do not know what caused this error, you can try set environment variable MXNET_ENGINE_TYPEto NaiveEngine and run with debugger (i.e. gdb). This will force all operations to be synchronous and backtrace will give you the series of calls that lead to this error. Remember to set MXNET_ENGINE_TYPE back to empty after debugging.\r\nAborted (core dumped)\r\n```\r\n\r\nI previous noted that it seemed I was able to set pooling kernels to be bigger than the size of the data. Is this that error? If so, it seems odd that it can train properly, but doesn't want to be loaded later on."}}