Coder Social home page Coder Social logo

microsoft / caffe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bvlc/caffe

1.2K 137.0 478.0 38.92 MB

Caffe on both Linux and Windows

License: Other

CMake 2.59% Makefile 0.68% Shell 0.52% C++ 79.94% Cuda 6.32% MATLAB 0.97% Python 8.76% Batchfile 0.14% PowerShell 0.01% C 0.01% Dockerfile 0.07%

caffe's Introduction

This branch of Caffe extends BVLC-led Caffe by adding Windows support and other functionalities commonly used by Microsoft's researchers, such as managed-code wrapper, Faster-RCNN, R-FCN, etc.

Update: this branch is not actively maintained. Please checkout this for more active Windows support.


Caffe

Linux (CPU) Windows (CPU)
Travis Build Status AppVeyor Build Status

License

Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and community contributors.

Check out the project site for all the details like

and step-by-step examples.

Windows Setup

Requirements: Visual Studio 2013

Pre-Build Steps

Copy .\windows\CommonSettings.props.example to .\windows\CommonSettings.props

By defaults Windows build requires CUDA and cuDNN libraries. Both can be disabled by adjusting build variables in .\windows\CommonSettings.props. Python support is disabled by default, but can be enabled via .\windows\CommonSettings.props as well. 3rd party dependencies required by Caffe are automatically resolved via NuGet.

CUDA

Download CUDA Toolkit 7.5 from nVidia website. If you don't have CUDA installed, you can experiment with CPU_ONLY build. In .\windows\CommonSettings.props set CpuOnlyBuild to true and set UseCuDNN to false.

cuDNN

Download cuDNN v4 or cuDNN v5 from nVidia website. Unpack downloaded zip to %CUDA_PATH% (environment variable set by CUDA installer). Alternatively, you can unpack zip to any location and set CuDnnPath to point to this location in .\windows\CommonSettings.props. CuDnnPath defined in .\windows\CommonSettings.props. Also, you can disable cuDNN by setting UseCuDNN to false in the property file.

Python

To build Caffe Python wrapper set PythonSupport to true in .\windows\CommonSettings.props. Download Miniconda 2.7 64-bit Windows installer [from Miniconda website] (http://conda.pydata.org/miniconda.html). Install for all users and add Python to PATH (through installer).

Run the following commands from elevated command prompt:

conda install --yes numpy scipy matplotlib scikit-image pip
pip install protobuf

Remark

After you have built solution with Python support, in order to use it you have to either:

  • set PythonPath environment variable to point to <caffe_root>\Build\x64\Release\pycaffe, or
  • copy folder <caffe_root>\Build\x64\Release\pycaffe\caffe under <python_root>\lib\site-packages.

Matlab

To build Caffe Matlab wrapper set MatlabSupport to true and MatlabDir to the root of your Matlab installation in .\windows\CommonSettings.props.

Remark

After you have built solution with Matlab support, in order to use it you have to:

  • add the generated matcaffe folder to Matlab search path, and
  • add <caffe_root>\Build\x64\Release to your system path.

Build

Now, you should be able to build .\windows\Caffe.sln

License and Citation

Caffe is released under the BSD 2-Clause license. The BVLC reference models are released for unrestricted use.

Please cite Caffe in your publications if it helps your research:

@article{jia2014caffe,
  Author = {Jia, Yangqing and Shelhamer, Evan and Donahue, Jeff and Karayev, Sergey and Long, Jonathan and Girshick, Ross and Guadarrama, Sergio and Darrell, Trevor},
  Journal = {arXiv preprint arXiv:1408.5093},
  Title = {Caffe: Convolutional Architecture for Fast Feature Embedding},
  Year = {2014}
}

caffe's People

Contributors

cypof avatar daijifeng001 avatar dgolden1 avatar ducha-aiki avatar eelstork avatar erictzeng avatar flx42 avatar jamt9000 avatar jeffdonahue avatar jyegerlehner avatar kloudkl avatar longjon avatar lukeyeager avatar mavenlin avatar mohomran avatar mtamburrano avatar netheril96 avatar pavlejosipovic avatar philkr avatar qipeng avatar rbgirshick avatar ronghanghu avatar sasagalic-msft avatar sergeyk avatar sguada avatar shelhamer avatar tnarihi avatar yangqing avatar yosinski avatar zer0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

caffe's Issues

build error MSB3030

Run into four MSB3030 errors during build. This is the first one:

1>C:\github\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030: Could not copy the file "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll" because it was not found.

The corresponding lines in C:\github\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets:

<Target Name="OpenCV_AfterBuild" AfterTargets="AfterBuild"> <Copy SkipUnchangedFiles="true" SourceFiles="@(CopyToOutput)" UseHardlinksIfPossible="true" DestinationFolder="$(TargetDir)"> <Output TaskParameter="DestinationFiles" PropertyName="DestinationFiles" /> <Output TaskParameter="DestinationFiles" ItemName="DestinationFiles" /> <Output TaskParameter="CopiedFiles" PropertyName="CopiedFiles" /> <Output TaskParameter="CopiedFiles" ItemName="CopiedFiles" /> </Copy> </Target>

I don't have VC installed in "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC", but I couldn't find where this path is set in the project files either.

HDF5 link error when compiling a new added project

I compiled the solution successfully, however, the compilation failed when trying to add a new proj to the solution. It prompted "error LNK2001: unresolved external symbol __imp_H5Gclose", as it link hdf5 library failed. I operated as follow

  1. Add a new windows console exe to the solution
  2. Change configeration from win32 to x64
  3. Import CommonSetting.props in Property Manager
  4. Add libcaffe.lib and $(CudaDependencies) linker
  5. Use NuGet install other libs
  6. Change Warning Level to level1
  7. Change Preprocessor Definitions as Project Caffe

And the new project has only one cpp file "main.cpp", which is exactly same to "caffe.cpp". and the new generated "packages.config" is the same too.

One difference I noticed is that in "main.cpp" properties -> C/C++ -> Command Line, it lacks "/I"D:\caffe\NugetPackages\hdf5-v120-complete.1.8.15\build\native....\lib\native\include" " and "/D "HAS_HDF5"" comaring to caffe.cpp in project caffe. it seems adding hdf5 lib linker failed when using NuGet, but in NuGet packages manager, it displayed OK

Could you give some advice about adding a new project for using caffe.lib, a opeation step will be great. thanks a lot!

Need help about how to use caffe after build???

Hi all.
I build the caffe but do not see release version in build/64 folder. Is that something wrong? Also I could not find how to use it once it is built successfully. I was able to use caffe on ubuntu but the problem was I cannot use gpu version since it is on virtual box. I'd like to tank in advamce to all.

Trouble building pycaffe

I'm having trouble building pycaffe, I'm not sure if it's some problem with my local setup. It seems to me there're two issues:

  1. The 3rdparty\include\boost\python subdir is missing, and you should copy it from the right boost version. This is the easy part.
  2. The real problem for me is that _caffe.cpp includes numpy/arrayobject.h. You can copy the numpy includes into 3rdparty\include, but arrayobject.h causes a few other files to be included, including __multiarray_api.h and _numpyconfig.h. And as far as I can determine, these are not in the numpy source distribution, instead they are generated during the numpy build/installation process. And try as I may, I could not get numpy to build on my machine.

Am I missing something obvious here ? Is there an easier way ?

error C1083: Cannot open include file: 'pyconfig.h': No such file or directory

5   IntelliSense: cannot open source file "Python.h"
2   IntelliSense: cannot open source file "pyconfig.h"  
3   IntelliSense: cannot open source file "patchlevel.h"    
4   IntelliSense: #error directive: Python 2.2 or higher is required for this version of Boost.Python.  

error C1083: Cannot open include file: 'pyconfig.h': No such file or directory

Hi, everyone. This is my problem when I am building caffe. What should I do? THX

Link error of 'libcaffe.lib'

Error 8559 error C2220: warning treated as error - no 'object' file generated (....\src\caffe\util\math_functions.cpp) C:\NugetPackages\boost.1.59.0.0\lib\native\include\boost\format\alt_sstream_impl.hpp 1 1 libcaffe
Error 8561 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\caffe.managed\LINK caffe.managed
Error 8562 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\caffe\LINK caffe
Error 8563 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\compute_image_mean\LINK compute_image_mean
Error 8564 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\extract_features\LINK extract_features
Error 8565 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\convert_imageset\LINK convert_imageset
Error 8582 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\matcaffe\LINK matcaffe
Error 8693 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\pycaffe\LINK pycaffe
Error 8720 error LNK1104: cannot open file 'libcaffe.lib' C:\caffe\windows\test_all\LINK test_all

I have no idea what happened. Could you help me?
I am using Cuda 7.5 and VS2013.

Log files

I run the cifar10 example and the log information shows in the command line window, but I can't find these log information saved in my caffe root folder. I'm wondering does this fork of caffe generate log\*.txt files while running?

matlab

successful build with VS2013, Win 10, CUDA 7.5 cuDNN and matlab 2105b.

when trying to run from matlab cmd line I get the following error

invalid mex-file "caffe_mex64" the specified module could not be found

tried using dependency checker and many dlls are missing. Is there something incompatible in my setup?

Invalid Mex file

Hi, everyone! Could you please give me some suggestions to this issues in Matlab, thank you

[scores, maxlabel] = classification_demo(im, 1);

Invalid MEX-file 'C:...\caffemaster\Build\x64\Release\matcaffe+caffe\private\caffe_.mexw64': not found

Error in caffe.set_mode_gpu (line 5)
caffe_('set_mode_gpu');

Error in classification_demo (line 66)
caffe.set_mode_gpu();

roi pooling layer

There is no roi pooling layer and I want to run faster rcnn. How can I add roi pooling layer into the project?

MatCaffe compilation

I see that in this fork the source of MatCaffe is also available, but I don't see anywhere how it could be compiled for Windows, following the caffe.sln way, configuring the compilation options by editing the CommonSettings.props file. Is there any plan to do it? Or should this be done using an alternative way, like for example, with Cmake?

CPU-only builds ?

Are you guys interested in adding CPU-only builds ? I tried this and it actually worked. I see two ways to do this:

  1. New, separate project files. The advantage is you don't need to install CUDA dependencies, and project configurations are simpler. The disadvantage is having a new set of project files.
  2. Add CPU-only configurations to existing project files.

error MSB3030 when building on VS 2013

Error from openblas.targets:

E:\msCaffe\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030: Could not copy the file "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll" because it was not found.
E:\msCaffe\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030: Could not copy the file "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcp120.dll" because it was not found.
E:\msCaffe\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030: Could not copy the file "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC120.DebugCRT\msvcr120d.dll" because it was not found.
E:\msCaffe\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030: Could not copy the file "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC120.DebugCRT\msvcp120d.dll" because it was not found.
LevelDb.lib(builder.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'LevelDb.lib(builder.obj)' or at 'E:\msCaffe\caffe\Build\x64\Debug\vc120.pdb'; linking object as if no debug info
LINK : fatal error LNK1104: cannot open file 'python27_d.lib'
.
.
.
========== Build All: 1 succeeded, 8 failed, 0 skipped ==========

This is not the complete log.

I don't know why the targets file is referring to C:\Program Files (x86)\Microsoft Visual Studio 12.0 when my installation is in E:\Microsoft Visual Studio 12.0.

How should I correct it?

cudnn.h missing

When I set false to true, I get
cudnn.h missing error. I checked the Cuda include folder and did not see the header.
Any help will be appreciated.

Thanks

Use libcaffe externally

As with other Caffe ports, the layers are not registered properly unless a visual studio reference to libcaffe with the option Use Library Dependency Inputs is added.

This is a problem because it makes difficult to use Caffe in external projects (you would have to include libcaffe into your solution and add it as a reference to the project that uses the library).

Issues with caffe.managed

I am trying to use caffe.managed.dll in my C# code (just declaring a new CaffeModel).
When the program starts it immediately fails, before getting to the lines where I declare the network.

When I am debugging the code with "Enable native code debugging" I get the following exceptions:
"Microsoft C++ exception: EEFileLoadException * __ptr64 at memory location 0x004da798"

When pressing continue I get:
"Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in...
Additional Information: The runtime has encountered a fatal error. The address of the error was at 0xeb982f9b, on thread 0x1df4. The error code is 0x80131506. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."

I am using visual studio 2013, windows 7. The output is attached
Output.txt

mdb_env_open failed create_mnist_data example

Trying to get a basic example working before I go off and use it on my own, but can't get the lmdb file to file to be created. Leveldb backend works fine so I think it has something to do with the example, but I'm unsure why it fails to open.

create_mnist_script.zip

BUILD = /Build/x64/Release
DATA = /data/mnist
BACKEND = lmdb

Edit: Figured it out. The default example tries to initialize the database with 1TB. LMDB does not incrementally size in windows so it will fail if you don't have 1TB of hard drive space free. Recommend a fix to something like 10MB or something. I think the DB only needs around 8MB.

different results between ubuntu and windows?

A caffe model was trained under the ubuntu. When run the model under windows, the recognition result is differen from the ubuntu's.
I wonder the reason why different results present by using the same code of Caffe?

错误 1 error C1083: 无法打开包括文件: “caffe/proto/caffe.pb.h”: No such file or directory C:\Users\B.M Zhang\Desktop\Deep Learning\Open project\caffe-master\caffe-master\include\caffe\blob.hpp 9 1 caffe

![image](https://cloud.githubusercontent.com/assets/13723804/14139721/4186ef36-f6a7-11e5-8b2d-77efb86c6473.png

I have set CpuOnlyBuild to true and set UseCuDNN to false,but when I click caffe.sdf ,it is wrong,and show "错误 1 error C1083: 无法打开包括文件: “caffe/proto/caffe.pb.h”: No such file or directory
"

Adding a new layer causes LNK2001 error

I followed this guide https://github.com/BVLC/caffe/wiki/Development for adding a new layer, but when I try to build it in Visual Studio, I'll get this error:

error LNK2001: unresolved external symbol "public: __cdecl caffe::NewLayerDataParameter::NewLayerDataParameter(class caffe::NewLayerDataParameter const &)" (??0NewLayerDataParameter@caffe@@qeaa@AEBV01@@z) C:\BuildDirectory\caffe-master\windows\pycaffe\new_layer_data_layer.obj

Interestingly, the new layer builds and works fine using cmake on Linux.

debug extract features

every time when I debug extract features project, it will happen that
1> ProtoCompile.cmd : Create proto include directory
1> 子目录或文件 H:\Project\CAFFE\windows_caffe_dev\caffe-master\windows..\include\caffe\proto 已经存在。
1> ProtoCompile.cmd : Compare newly compiled caffe.pb.h with existing one
have you ever meet this problem, and how to solve it? thanks~~

Make the proto generation more roburst

The script to generate proto files is in scripts/GeneratePB.bat. It checks for existence of output PB files and skips generating new ones if those exist. Need to update the logic so that it checks for changes in the input proto file, not the existence of generated files.

Trying parallel compilation of Cuda files

I'm compiling Caffe using IncrediBuild, as this should be the only way to ensure parallel compilation of Cuda files within MS Visual Studio. Unfortunately the cuda compilation is not parallelised across my machine's cores, and it takes about 4 and a half minutes to compile for a single microarchitecture (Maxwell 5.0 in my case).
Does any of you have experience with slow cuda compilation times and how to improve them?

Get rid of compile warnings

Add to code files.

#pragma warning(push, 0)        
//include of 3rdparty headers
#pragma warning(pop)

A no-code-change solution would be preferred.

Refactor managed API

  1. Rename ExtractOutputs to GetLayerValues.
  2. Instead of returning an array, GetLayerValues takes a buffer and fill that buffer. That way, we don't have to repeatedly allocate new arrays.

FYI, @leizhangcn

Unable to build on VS2015

Hi
I tried to build on VS 2015 but I receive
caffe.vcxproj(35,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 7.5.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

any help?
thanks a lot

Why classification_demo crashed at the net.forward step

I use the Matlab R2015b, and I try to test the classification_demo, after downloading the caffemodel from model zoo, I found that classification_demo crashed at the net.forward step, someone could tell me what happened to this?

Cannot copy files

Since I'm using the Chinese version of vs2013, I can only describe my issue in the followiing words.

First I meet the issue #34, and I solved it after I refer to #33, and I recompile "libcaffe.lib"
but errors occured when the following output was printed on the screen.
image

It means
D:\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets(57,5): error MSB3030 : cannot copy file " C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll" , reason : cannot find the file.

I've checked all the instructions and I have no idea where went wrong.

Thanks for you help.

Compiling error when adding a new dll project.

I added a new dll project to the solution, most of setting was similar with "caffe.managed". But it compiled error when including caffe header files, just like "caffe/caffe.hpp". All the errors were in "caffe.pb.h", but all other projects were compiled successfully. So it may be sth wrong with my dll project setting. Could you give some advices?

about cifar tutor

according to this tutor located at https://github.com/Microsoft/caffe/blob/master/examples/cifar10/readme.md, i have successfully got all necessary executable files, download dataset, convert, etc.
But I ends with an error when I executing build\x64\Release\caffe train --solver="X:/caffe/examples/cifar10/cifar10_quick_solver.prototxt" from X:\caffe\, there are a lot outputs, and the last 3 lines are
I0315 23:34:06.160449 7416 solver.cpp:338] Iteration 0, Testing net (#0)
F0315 23:34:06.171448 7416 pooling_layer.cu:212] Check failed: error == cudaSuccess (8 vs. 0) invalid device function
*** Check failure stack trace: ***
I have tried with Release build and Debug build, both ends with same thing, one message box ask me if I want debug the error with nothing details.

Just wonder if anyone have made this working and may knew what this error means?

Thanks very much~

build error on VS2015

I use cup only and disable cudnn.
the nuget had download packet in \windows\packages, but the project can't find it. why?

error msg:
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ......\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.props. libcaffe win_caffe\windows\libcaffe\libcaffe.vcxproj 374

error MSB3073

Firstly, thank you for your sharing the project. But, when I generated the project after Nuget downloaded the 3rd party, I encountered some errors, for example: cannot open file "google/protobuf/unknown_field_set.h".
Thus I switched to directory "google/protobuf/", there is only one file. So what can I do for this phenomenon?

Updating the OpenCV dependence

Hi. I've seen that the current version uses OpenCV 2.4.10 as dependence, which is quite outdated, and I had the intention to use a more recent one like OpenCV 3.0 or 3.1. However, in NuGet I've seen that the repo used for this doesn't contain newer versions (https://www.nuget.org/packages/OpenCV/). I've seen that there are other alternative repos (like this: https://www.nuget.org/packages/opencv3/), but even if I've been able to compile Caffe with that, by updating the .vcxproj files and the packages.config files accordingly, then I've seen that I still couldn't run the generated executables (for example test_all.exe) because the OpenCV dll-s were missing. Indeed, they aren't available in that specific NuGet repo, apparently (I'm not an expert user of NuGet). Does this mean that somebody should upload the recent OpenCV versions in a specific way to NuGet, or am I missing something else about how to use NuGet? Did anyone face this issue?

run mnist error: caffe check failed

8468 im2col.cu 61 caffe check failed;error==cudaSuccess(8 vs.0) invalid device function.....
My GPU is GEFORCE 820m,and installed CUDA7.5。

Build error in VS2013

When I build the caffe in VS 2013, error MSB4062 happened like this:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 7.5.targets(160,9): error MSB4062: 未能从程序集 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\Nvda.Build.CudaTasks.v7.5.dll 加载任务“Nvda.Build.CudaTasks.SanitizePaths”。未能加载文件或程序集“Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。 请确认 声明正确,该程序集及其所有依赖项都可用,并且该任务包含实现 Microsoft.Build.Framework.ITask 的公共类。

Anyone can solve this problem?

win7 vs2013 just say cannot open input file'libcaffe.lib' and '../util/mkstemp.hpp' no such file or directory

I just download the master branch build in the mode Release and x64 it says
error LNK1181: cannot open input file 'libcaffe.lib '..Projects\caffe-master\windows\caffe\LINK caffe
and
error C1083: Cannot open include file: 'caffe/util/mkstemp.hpp': error C1083: Cannot open include file: 'caffe/util/mkstemp.hpp': No such file or directory (....\src\gtest\gtest-all.cpp)
this error C1083 also exists in many other cpp files
thank you all, guys!!!

microcaffeerror

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.