Comments (11)
That's strange.
Can you try to re-add protobuff package to the solution, or just clone the repo in different location (it should trigger NuGet packages to re-download.
from caffe.
@snailchan did you resolve this issue?
from caffe.
sorry,I have not solved this problem. Actually, I cloned your project, configured it, and debugged it as instruction. However, that didn't work.
As far as I am concerned, can this problem occurred because the NuGet packages? For I have not found any definitions about the include dir or source dir involved the NuGet packages dir.
from caffe.
After I scanned other issues, I noticed AleksandarTomicMS say that the default location ("C:\Program Files (x86)\Microsoft Visual Studio 12.0") did matter (#18). Coincidentally,I installed the MSVC in D:. So, does it really influence?
from caffe.
You can quick test the hypothesis by mklink /d "C:\Program Files (x86)\Microsoft Visual Studio 12.0" "D:\Microsoft Visual Studio 12.0"
.
from caffe.
Thank you for your help, @pavlejosipovic , @zer0n , after I added the soft link , the original bug disappeared. However, the new bug occurred.
I think what causes the error is the '\' in the first line, but I have searched nothing useful on google. Can you give some instructions?
from caffe.
You can try running the cmd script manually to get better error message but my guess is that you haven't configured cuDNN as described in README.md
cuDNN
Download cuDNN v3 or cuDNN v4 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 . Also, you can disable cuDNN by setting UseCuDNN to false in the property file.
from caffe.
Yes, you are right, @pavlejosipovic . But I had set the $(CuDnnPath) below
As I located the cudnn package below
However, this bug still exits. Where did I set wrong?
from caffe.
If you are using %CUDA_PATH% then you can leave CuDnnPath variable empty.
I'm using cuDNNv4 on my box:
%CUDA_PATH%\bin\cudnn64_4.dll
%CUDA_PATH%\include\cudnn64.h
%CUDA_PATH%\lib\x64\cudnn.lib
from caffe.
thanks, @pavlejosipovic ,your solutions is useful, but, I want to know, why I put the cudnn package in other location have nothing to do with the bug. Where I set wrong?
from caffe.
You can put cuDNN in any location you want you just need to unzip the cuDNN package you download from NVidia and set CuDnnPath to point to this location
you should have the same folder structure.
"random unpack location"\cuda\bin\cudnn64_4.dll
"random unpack location"\cuda\include\cudnn.h
"random unpack location"\cuda\lib\x64\cudnn.lib
CuDnnPath should point to "random unpack location"
from caffe.
Related Issues (20)
- can not print caffe layers information fully
- compile error on caffe windows without GPU HOT 1
- Errow C2220: do not build the "obj" file (complile the source file :..\..\src\caffe\util\math_functions.cpp) HOT 1
- compile error with '.build_release/lib/libcaffe.so: undefined reference' HOT 1
- pycaffe build link error,how to solve it ? HOT 1
- can't find cuda_runtime. h
- Linux build error HOT 1
- 'gpu.dll' connot be found
- this link is not exist?
- Protobuf: Reading dangerously large protocol message
- Python stopped working when execute 'self.solver.step(1)' code in 'train.py' file. HOT 1
- cuDNN version problem
- Matcaffe Compiling Issues:
- Accessing .\windows HOT 1
- AttributeError: 'module' object has no attribute 'LabelMap'
- I cant create caffe.pb.h file HOT 2
- how to solve NuGet problem of OpenCV or glag except Uninstall and reinstall HOT 3
- Error C1083: Cannot open “cublas_v2.h”: No such file or directory D:\caffe\caffe-master\include\caffe\util\device_alternate.hpp 34
- i cant build the libcaffe in vs2013 and it tells me the version of python is not compatible
- This repo is missing important files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe.