我曾尝试运行安装 Mxnet 深度学习框架,但在尝试运行 python 示例时由于以下错误而失败,并且在网络上找不到最佳处理方法。
MacBook-Pro-4:mxnet chinhiroshi$ python example/image-classification/train_mnist.py
2016-03-22 11:51:59,386 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)
Traceback (most recent call last):
File "example/image-classification/train_mnist.py", line 130, in <module>
train_model.fit(args, net, get_iterator(data_shape))
File "/Users/chinhiroshi/Dropbox/code/python/package/mxnet/example/image-classification/train_model.py", line 41, in fit
save_model_prefix = args.save_model_prefix
AttributeError: 'Namespace' object has no attribute 'save_model_prefix'