依赖软件环境
Python2.7 64位版(mxnet也必须为64位版,由于系统bug,mxnet只能在Win10下运行)
转换caffemodel到mxnet所需的工具
依赖硬件环境
nvidia显卡 CUDA win10 64位
https://developer.nvidia.com/cuda-downloads
1.下载最新版Windows下的release mxnet,注意GPU与CPU的版本区别,无GPU的机器只能下载CPU版
https://github.com/dmlc/mxnet/releases
2. 下载后解压,运行setupenv设置环境变量
3. 运行Mxnet/python下的setup.py ,建立Mxnet的依赖关系
E:\MxNet\python>python setup.py install
running install
running bdist_egg
running egg_info
creating mxnet.egg-info
writing requirements to mxnet.egg-info\requires.txt
writing mxnet.egg-info\PKG-INFO
writing top-level names to mxnet.egg-info\top_level.txt
writing dependency_links to mxnet.egg-info\dependency_links.txt
writing manifest file 'mxnet.egg-info\SOURCES.txt'
reading manifest file 'mxnet.egg-info\SOURCES.txt'
writing manifest file 'mxnet.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib
creating build\lib\mxnet
copying mxnet\attribute.py -> build\lib\mxnet
copying mxnet\base.py -> build\lib\mxnet
copying mxnet\callback.py -> build\lib\mxnet
copying mxnet\context.py -> build\lib\mxnet
copying mxnet\executor.py -> build\lib\mxnet
copying mxnet\executor_manager.py -> build\lib\mxnet
copying mxnet\initializer.py -> build\lib\mxnet
copying mxnet\io.py -> build\lib\mxnet
copying mxnet\kvstore.py -> build\lib\mxnet
copying mxnet\kvstore_server.py -> build\lib\mxnet
copying mxnet\libinfo.py -> build\lib\mxnet
copying mxnet\lr_scheduler.py -> build\lib\mxnet
copying mxnet\metric.py -> build\lib\mxnet
copying mxnet\misc.py -> build\lib\mxnet
copying mxnet\model.py -> build\lib\mxnet
copying mxnet\monitor.py -> build\lib\mxnet
copying mxnet\name.py -> build\lib\mxnet
copying mxnet\ndarray.py -> build\lib\mxnet
copying mxnet\operator.py -> build\lib\mxnet
copying mxnet\optimizer.py -> build\lib\mxnet
copying mxnet\random.py -> build\lib\mxnet
copying mxnet\recordio.py -> build\lib\mxnet
copying mxnet\rtc.py -> build\lib\mxnet
copying mxnet\symbol.py -> build\lib\mxnet
copying mxnet\symbol_doc.py -> build\lib\mxnet
copying mxnet\torch.py -> build\lib\mxnet
copying mxnet\visualization.py -> build\lib\mxnet
copying mxnet\__init__.py -> build\lib\mxnet
creating build\lib\mxnet\module
copying mxnet\module\base_module.py -> build\lib\mxnet\module
copying mxnet\module\bucketing_module.py -> build\lib\mxnet\module
copying mxnet\module\executor_group.py -> build\lib\mxnet\module
copying mxnet\module\module.py -> build\lib\mxnet\module
copying mxnet\module\python_module.py -> build\lib\mxnet\module
copying mxnet\module\sequential_module.py -> build\lib\mxnet\module
copying mxnet\module\__init__.py -> build\lib\mxnet\module
creating build\bdist.win-amd64
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\attribute.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\base.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\callback.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\context.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\executor.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\executor_manager.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\initializer.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\io.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\kvstore.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\kvstore_server.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\libinfo.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\lr_scheduler.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\metric.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\misc.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\model.py -> build\bdist.win-amd64\egg\mxnet
creating build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\base_module.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\bucketing_module.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\executor_group.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\module.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\python_module.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\sequential_module.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\module\__init__.py -> build\bdist.win-amd64\egg\mxnet\module
copying build\lib\mxnet\monitor.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\name.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\ndarray.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\operator.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\optimizer.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\random.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\recordio.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\rtc.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\symbol.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\symbol_doc.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\torch.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\visualization.py -> build\bdist.win-amd64\egg\mxnet
copying build\lib\mxnet\__init__.py -> build\bdist.win-amd64\egg\mxnet
byte-compiling build\bdist.win-amd64\egg\mxnet\attribute.py to attribute.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\base.py to base.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\callback.py to callback.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\context.py to context.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\executor.py to executor.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\executor_manager.py to executor_manager.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\initializer.py to initializer.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\io.py to io.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\kvstore.py to kvstore.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\kvstore_server.py to kvstore_server.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\libinfo.py to libinfo.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\lr_scheduler.py to lr_scheduler.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\metric.py to metric.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\misc.py to misc.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\model.py to model.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\base_module.py to base_module.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\bucketing_module.py to bucketing_module.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\executor_group.py to executor_group.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\module.py to module.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\python_module.py to python_module.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\sequential_module.py to sequential_module.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\module\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\monitor.py to monitor.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\name.py to name.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\ndarray.py to ndarray.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\operator.py to operator.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\optimizer.py to optimizer.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\random.py to random.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\recordio.py to recordio.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\rtc.py to rtc.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\symbol.py to symbol.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\symbol_doc.py to symbol_doc.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\torch.py to torch.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\visualization.py to visualization.pyc
byte-compiling build\bdist.win-amd64\egg\mxnet\__init__.py to __init__.pyc
installing package data to build\bdist.win-amd64\egg
running install_data
copying E:\MxNet\python\mxnet\..\..\lib\libmxnet.dll -> build\bdist.win-amd64\egg\mxnet
creating build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying mxnet.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
creating dist
creating 'dist\mxnet-0.7.0-py2.7.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing mxnet-0.7.0-py2.7.egg
creating c:\python27\lib\site-packages\mxnet-0.7.0-py2.7.egg
Extracting mxnet-0.7.0-py2.7.egg to c:\python27\lib\site-packages
Adding mxnet 0.7.0 to easy-install.pth file
Installed c:\python27\lib\site-packages\mxnet-0.7.0-py2.7.egg
Processing dependencies for mxnet==0.7.0
Searching for numpy==1.11.0
Best match: numpy 1.11.0
Adding numpy 1.11.0 to easy-install.pth file
Using c:\python27\lib\site-packages
Finished processing dependencies for mxnet==0.7.0
见到“Finished processing dependencies for mxnet==0.7.0”,表示成功