Comments (8)
Hi @gucan-long . You need a caffe branch that has both my changes to support Windows and those of BLVC to support multi-gpu. In git lingo you need to fork either BLVC's or my caffe repository and apply the changes from the other repository:
One way of doing this would be:
# first clone your own caffe fork
git clone https://github.com/gucan-long/caffe.git caffe
cd caffe
# update to BLVC upstream
git remote add upstream https://github.com/BLVC/caffe.git
git fetch upstream
git checkout master
git merge upstream/master
# add willyd's work as another remote
git remote add willyd https://github.com/willyd/caffe.git
git fetch willyd
# branch off BLVC master
git checkout -b multigpu
# merge in the changes from willyd's branch
git merge willyd/visualstudio
# resolve any conflicts
git add <resolved files>
git commit
git push origin
Then change the GIT_REPOSITORY
to your own repo and the GIT_TAG
to multigpu. Please note that I could be wrong in the above git commands. I did not test them, but you get the idea. You can refer to github's documentation to know how to sync a fork.
Let me know if you succeed or not.
from caffe-builder.
Hi @willyd , thank you very much for your detailed reply.
I tried as you suggested, but failed. The problem lies in the new added file of caffe/src/caffe/util/signal_handler.cpp. In which the signal-related functions (e.g. sigfillset()) lack supports in Windows. If possible, could you please have a look at it and kindly give some further suggestions?
Many thanks!
from caffe-builder.
Yeah I briefly mentioned a possible solution in the PR comments for Windows but did not have time to integrate this change in my fork.
from caffe-builder.
Hi @willyd thanks for your reply. By "a possible solution in the PR comments", could you please give me a url of it? Maybe I could have a try.
from caffe-builder.
Here is the PR link. My "potential solution" is very brief though: BVLC/caffe#2253.
from caffe-builder.
@willyd
You may refer to my modification https://github.com/happynear/caffe-windows/blob/master/src/caffe/util/signal_handler.cpp .
There is no SIGHUP in windows. However, I like the "snapshot whenever I want" feature. So I use SIGBREAK to replace SIGHUP.
from caffe-builder.
@gclong My fork now was the latest changes integrated. See branc msvc
from caffe-builder.
Hi @willyd . That is great! Thank you so much!
from caffe-builder.
Related Issues (20)
- download prebuilt dependencies failed
- How to make it support x86? HOT 2
- url download for hdf5 package has changed HOT 6
- After I SET the Matlab_DIR in FindMatlabMex.cmake anthoer mistake happen, this mistake border me 5days plz help me
- How to add support for python 3.6? HOT 13
- downloading protobuf fails with hash missmatch HOT 3
- ninja: error: caffezlibd.lib', needed by 'snappy_unittest.exe'
- boost minor problem: cannot find 'pyconfig.h' HOT 1
- nvcc.hpp(22): fatal error C1017: HOT 4
- fatal error LNK1181: 无法打开输入文件“gflags_shared.lib” HOT 1
- how to support cuda 9.0
- compiler erro
- Build with VTK
- Python 3.6 is not supported
- Caffe builder in Visual studio 2017 HOT 1
- ninja: build stopped: subcommand failed?
- Warning during caffe installation
- How can I stop always download new files and remove old file? HOT 1
- Hi, I want to know how to add an new layer type to caffe(python version)(install by anaconda)
- -- Selecting Windows SDK version to target Windows 10.0.19041. CMake Error at cmake/WindowsDownloadPrebuiltDependencies.cmake:40 (message): Could not find url for MSVC version = 1900 and Python version = 3.6. Call Stack (most recent call first): CMakeLists.txt:77 (include) HOT 4
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-builder.