caffe-windows-(1)

所属分类:Windows编程
开发工具:MultiPlatform
文件大小:4427KB
下载次数:18
上传日期:2015-10-27 08:45:04
上 传 者nasin
说明:  caffe for windows. Deep learning framework can be trained for any purpose.

文件列表:
caffe-windows (0, 2015-05-13)
caffe-windows\3rdparty (0, 2015-05-13)
caffe-windows\CONTRIBUTORS.md (519, 2015-05-13)
caffe-windows\LICENSE (1342, 2015-05-13)
caffe-windows\bin (0, 2015-05-13)
caffe-windows\build (0, 2015-05-13)
caffe-windows\build\MSVC (0, 2015-05-13)
caffe-windows\build\MSVC\MainBuilder.sln (1243, 2015-05-13)
caffe-windows\build\MSVC\MainBuilder.vcxproj (18268, 2015-05-13)
caffe-windows\build\MSVCmex (0, 2015-05-13)
caffe-windows\build\MSVCmex\bin (0, 2015-05-13)
caffe-windows\build\MSVCmex\bin\caffe.mexw64 (2783232, 2015-05-13)
caffe-windows\build\MSVCmex\matcaffe.sln (1236, 2015-05-13)
caffe-windows\build\MSVCmex\matcaffe.vcxproj (18891, 2015-05-13)
caffe-windows\data (0, 2015-05-13)
caffe-windows\data\cifar10 (0, 2015-05-13)
caffe-windows\data\cifar10\get_cifar10.sh (504, 2015-05-13)
caffe-windows\data\ilsvrc12 (0, 2015-05-13)
caffe-windows\data\ilsvrc12\get_ilsvrc_aux.sh (532, 2015-05-13)
caffe-windows\data\mnist (0, 2015-05-13)
caffe-windows\data\mnist\get_mnist.sh (764, 2015-05-13)
caffe-windows\docs (0, 2015-05-13)
caffe-windows\docs\CNAME (25, 2015-05-13)
caffe-windows\docs\_layouts (0, 2015-05-13)
caffe-windows\docs\_layouts\default.html (2110, 2015-05-13)
caffe-windows\docs\cifar10.md (5194, 2015-05-13)
caffe-windows\docs\development.md (3598, 2015-05-13)
caffe-windows\docs\feature_extraction.md (2752, 2015-05-13)
caffe-windows\docs\getting_pretrained_models.md (768, 2015-05-13)
caffe-windows\docs\imagenet_training.md (6900, 2015-05-13)
caffe-windows\docs\index.md (4958, 2015-05-13)
caffe-windows\docs\installation.md (8802, 2015-05-13)
caffe-windows\docs\javascripts (0, 2015-05-13)
... ...

# Windows Installation This is not the original [Caffe Readme](https://github.com/BVLC/caffe/blob/master/README.md) but an installation guide for windows version. #### Want to run first before build by yourself? You can download the windows x*** [standalone package](https://dl.dropboxusercontent.com/u/3466743/caffe-vs2012/standalone.7z) and run directly on MNIST dataset. #### Prerequisites You may need the followings to build the code: - Windows ***-bit - MS Visual Studio 2012 - CUDA toolkit 6.5 - Other dependencies which you can directly download from [here](http://dl.dropboxusercontent.com/u/3466743/caffe-vs2012/dependency-20140804.7z). #### Build Steps Currently it can be built by VS2012 for x*** flatform only. This is because the dependencies mentioned above is cross-compiled to support x*** only. If you want to build on 32bit windows, you need to rebuild your own 3rd-party libraries. - Check out the code and switch to *windows* branch - Download the dependency file and extract the folders inside to project root directory. - Open the solution file in `./build/MSVC` - Switch build target to x*** platform (Both debug and release are OK). - Include any .cpp you want to build in the `./tools` directory to MainCaller.cpp. - Build the code and you may find the `./bin/MainCaller.exe` #### Train MNIST dataset - Suppose you choose to build train_net.cpp which is the default one in MainCaller.cpp - If you do not have GPU, please change it to CPU in `lenet_solver.prototxt` - Goto directory `./examples/mnist` - Double click `get_mnist_leveldb.bat` to download the dataset in leveldb format. - Double click `train_lenet.bat` to see the training progress . #### Tips - It takes obvious longer time when you compile for the first time. Therefore please refrain from using `clean & rebuild`. - To support different [GPU compute capabilities](http://en.wikipedia.org/wiki/CUDA#Supported_GPUs), the code is built for several compute capability versions. If you know the exact version of your GPU device, you may remove the support to other versions to speed up the compiling procedure. You may wish to take a look at #25 for more details. #### Known Issues - Because I am very busy doing my own project (may or may not be deep learning related), I am sorry that I do not have time to update the code to keep pace with the official Caffe development. As for the same reason, I will not be able to answer all the questions or solve the issues for some time. - ~~I have trained on ImageNet with this windows porting as well. The speed is much slower than the one built on Ubuntu. 20 iterations take 79s on Windows, whereas same number of iterations take about 30s on Ubuntu (on GTX Titan).~~ - The above issue has been solved since the upgrade of GPU driver to 340.62 and CUDA to 6.5. The same hardware is now running 26 sencods for 20 iterations on Windows. Hooray!! #### Bug Report - Please create new issues in [github](https://github.com/niuzhiheng/caffe/issues) if you find any bug. - If you have new pull requests, they are very welcome. - Before you do that, you may wish to read this [wiki page](https://github.com/niuzhiheng/caffe/wiki) for more information.

近期下载者

相关文件


收藏者