{"action":"opened","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/2799","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/2799/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/2799/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/2799/events","html_url":"https://github.com/dmlc/mxnet/issues/2799","id":166894522,"number":2799,"title":"An error about train_mnist.py example on Mac","user":{"login":"kkunn","id":10684003,"avatar_url":"https://avatars.githubusercontent.com/u/10684003?v=3","gravatar_id":"","url":"https://api.github.com/users/kkunn","html_url":"https://github.com/kkunn","followers_url":"https://api.github.com/users/kkunn/followers","following_url":"https://api.github.com/users/kkunn/following{/other_user}","gists_url":"https://api.github.com/users/kkunn/gists{/gist_id}","starred_url":"https://api.github.com/users/kkunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkunn/subscriptions","organizations_url":"https://api.github.com/users/kkunn/orgs","repos_url":"https://api.github.com/users/kkunn/repos","events_url":"https://api.github.com/users/kkunn/events{/privacy}","received_events_url":"https://api.github.com/users/kkunn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T19:06:51Z","updated_at":"2016-07-21T19:06:51Z","closed_at":null,"body":"```\r\nMacBook-Air:mxnet kun$ python example/image-classification/train_mnist.py\r\n2016-07-22 02:58:02,718 Node[0] start with arguments Namespace(batch_size=128, data_dir='mnist/', gpus=None, kv_store='local', load_epoch=None, lr=0.1, lr_factor=1, lr_factor_epoch=1, model_prefix=None, network='mlp', num_epochs=10, num_examples=60000, save_model_prefix=None)\r\nsh: wget: command not found\r\nunzip:  cannot find or open mnist.zip, mnist.zip.zip or mnist.zip.ZIP.\r\nrm: mnist.zip: No such file or directory\r\n[02:58:02] /Users/user/mxnet/dmlc-core/include/dmlc/logging.h:235: [02:58:02] src/io/local_filesys.cc:149: Check failed: allow_null  LocalFileSystem: fail to open \"mnist/train-images-idx3-ubyte\"\r\nTraceback (most recent call last):\r\n  File \"example/image-classification/train_mnist.py\", line 153, in <module>\r\n    train_model.fit(args, net, get_iterator(data_shape))\r\n  File \"/Users/user/mxnet/example/image-classification/train_model.py\", line 47, in fit\r\n    (train, val) = data_loader(args, kv)\r\n  File \"example/image-classification/train_mnist.py\", line 92, in get_iterator_impl\r\n    part_index  = kv.rank)\r\n  File \"/Users/user/mxnet/example/image-classification/../../python/mxnet/io.py\", line 582, in creator\r\n    ctypes.byref(iter_handle)))\r\n  File \"/Users/user/mxnet/example/image-classification/../../python/mxnet/base.py\", line 77, in check_call\r\n    raise MXNetError(py_str(_LIB.MXGetLastError()))\r\nmxnet.base.MXNetError: [02:58:02] src/io/local_filesys.cc:149: Check failed: allow_null  LocalFileSystem: fail to open \"mnist/train-images-idx3-ubyte\"\r\n```\r\n\r\n看不懂…… what should I do....."}}
{"actor":{"display_login":"kkunn"}}