GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update project file and readme · microsoft/caffe@26c6874

This repository was archived by the owner on Jun 13, 2024. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • MSVC
    • caffe.vcxproj
    • caffelib.vcxproj
  • README.md
  • caffe.sln
  • scripts
    • GeneratePB.bat
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎MSVC/caffe.vcxproj‎

Copy file name to clipboardExpand all lines: MSVC/caffe.vcxproj
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ProjectGuid>{537EF951-4B02-4103-A310-52A6F7C8D748}</ProjectGuid>
1515
<Keyword>Win32Proj</Keyword>
1616
<RootNamespace>caffe</RootNamespace>
17-
<ProjectName>Caffe</ProjectName>
17+
<ProjectName>caffe</ProjectName>
1818
</PropertyGroup>
1919
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -69,7 +69,7 @@
6969
<SubSystem>Console</SubSystem>
7070
<GenerateDebugInformation>true</GenerateDebugInformation>
7171
<AdditionalLibraryDirectories>lib\$(Configuration);..\3rdparty\lib;..\3rdparty\lib;$(CUDA_PATH)\lib\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
72-
<AdditionalDependencies>caffelib.lib;cudnn.lib;opencv_core249d.lib;opencv_calib3d249d.lib;opencv_contrib249d.lib;opencv_flann249d.lib;opencv_highgui249d.lib;opencv_imgproc249d.lib;opencv_legacy249d.lib;opencv_ml249d.lib;opencv_gpu249d.lib;opencv_objdetect249d.lib;opencv_photo249d.lib;opencv_features2d249d.lib;opencv_nonfree249d.lib;opencv_stitching249d.lib;opencv_video249d.lib;opencv_videostab249d.lib;cudart.lib;cuda.lib;nppi.lib;cufft.lib;cublas.lib;curand.lib;gflagsd.lib;libglog.lib;libopenblas.dll.a;libprotobufd.lib;libprotoc.lib;leveldbd.lib;lmdbd.lib;libhdf5_D.lib;libhdf5_hl_D.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
72+
<AdditionalDependencies>caffe.lib;cudnn.lib;opencv_core249d.lib;opencv_calib3d249d.lib;opencv_contrib249d.lib;opencv_flann249d.lib;opencv_highgui249d.lib;opencv_imgproc249d.lib;opencv_legacy249d.lib;opencv_ml249d.lib;opencv_gpu249d.lib;opencv_objdetect249d.lib;opencv_photo249d.lib;opencv_features2d249d.lib;opencv_nonfree249d.lib;opencv_stitching249d.lib;opencv_video249d.lib;opencv_videostab249d.lib;cudart.lib;cuda.lib;nppi.lib;cufft.lib;cublas.lib;curand.lib;gflagsd.lib;libglog.lib;libopenblas.dll.a;libprotobufd.lib;libprotoc.lib;leveldbd.lib;lmdbd.lib;libhdf5_D.lib;libhdf5_hl_D.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
7373
</Link>
7474
<PreBuildEvent />
7575
<PostBuildEvent>
@@ -98,7 +98,7 @@ exit 0</Command>
9898
<EnableCOMDATFolding>true</EnableCOMDATFolding>
9999
<OptimizeReferences>true</OptimizeReferences>
100100
<AdditionalLibraryDirectories>lib\$(Configuration);..\3rdparty\lib;..\3rdparty\lib;$(CUDA_PATH)\lib\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
101-
<AdditionalDependencies>caffelib.lib;cudnn.lib;opencv_core249.lib;opencv_flann249.lib;opencv_imgproc249.lib;opencv_highgui249.lib;opencv_legacy249.lib;opencv_video249.lib;opencv_ml249.lib;opencv_calib3d249.lib;opencv_objdetect249.lib;opencv_stitching249.lib;opencv_gpu249.lib;opencv_nonfree249.lib;opencv_features2d249.lib;cudart.lib;cuda.lib;nppi.lib;cufft.lib;cublas.lib;curand.lib;gflags.lib;libglog.lib;libopenblas.dll.a;libprotobuf.lib;libprotoc.lib;leveldb.lib;lmdb.lib;libhdf5.lib;libhdf5_hl.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
101+
<AdditionalDependencies>caffe.lib;cudnn.lib;opencv_core249.lib;opencv_flann249.lib;opencv_imgproc249.lib;opencv_highgui249.lib;opencv_legacy249.lib;opencv_video249.lib;opencv_ml249.lib;opencv_calib3d249.lib;opencv_objdetect249.lib;opencv_stitching249.lib;opencv_gpu249.lib;opencv_nonfree249.lib;opencv_features2d249.lib;cudart.lib;cuda.lib;nppi.lib;cufft.lib;cublas.lib;curand.lib;gflags.lib;libglog.lib;libopenblas.dll.a;libprotobuf.lib;libprotoc.lib;leveldb.lib;lmdb.lib;libhdf5.lib;libhdf5_hl.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
102102
</Link>
103103
<PostBuildEvent>
104104
<Command>robocopy ..\3rdparty\bin $(SolutionDir)bin\$(Configuration) /xo /xn
Collapse file

‎MSVC/caffelib.vcxproj‎

Copy file name to clipboardExpand all lines: MSVC/caffelib.vcxproj
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ProjectGuid>{7F271127-D68A-4B9B-ACCE-1369394ED6E5}</ProjectGuid>
1515
<Keyword>Win32Proj</Keyword>
1616
<RootNamespace>caffe</RootNamespace>
17-
<ProjectName>CaffeLib</ProjectName>
17+
<ProjectName>caffe.lib</ProjectName>
1818
</PropertyGroup>
1919
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -45,14 +45,15 @@
4545
<LinkIncremental>true</LinkIncremental>
4646
<OutDir>lib\$(Configuration)\</OutDir>
4747
<TargetExt>.lib</TargetExt>
48-
<TargetName>$(ProjectName)</TargetName>
48+
<TargetName>caffe</TargetName>
4949
<IntDir>obj\$(ProjectName)\$(Configuration)\</IntDir>
5050
</PropertyGroup>
5151
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
5252
<LinkIncremental>false</LinkIncremental>
5353
<OutDir>lib\$(Configuration)\</OutDir>
5454
<TargetExt>.lib</TargetExt>
5555
<IntDir>obj\$(ProjectName)\$(Configuration)\</IntDir>
56+
<TargetName>caffe</TargetName>
5657
</PropertyGroup>
5758
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5859
<ClCompile>
@@ -268,4 +269,4 @@
268269
<ImportGroup Label="ExtensionTargets">
269270
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 7.5.targets" />
270271
</ImportGroup>
271-
</Project>
272+
</Project>
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+18-3Lines changed: 18 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Caffe
22

3+
[![Build Status](https://travis-ci.org/BVLC/caffe.svg?branch=master)](https://travis-ci.org/BVLC/caffe)
4+
[![License](https://img.shields.io/badge/license-BSD-blue.svg)](LICENSE)
5+
36
Caffe is a deep learning framework made with expression, speed, and modularity in mind.
47
It is developed by the Berkeley Vision and Learning Center ([BVLC](http://bvlc.eecs.berkeley.edu)) and community contributors.
58

@@ -12,10 +15,22 @@ Check out the [project site](http://caffe.berkeleyvision.org) for all the detail
1215

1316
and step-by-step examples.
1417

15-
## Setup
16-
`git clone [email protected]:MSRDL/caffe.git`
18+
## Windows Setup
19+
**Requirements**: Visual Studio 2013 and CUDA 7.5
20+
21+
Once the requirements are satisfied, run these commands
22+
```
23+
git clone [email protected]:MSRDL/caffe.git
24+
cd caffe
25+
git clone [email protected]:MSRDL/wincaffe-3rdparty.git 3rdparty
26+
```
27+
Now, you should be able to build `caffe.sln`
28+
29+
## Development
1730

18-
For development in Windows, also run `git clone [email protected]:MSRDL/wincaffe-3rdparty.git 3rdparty` from the `caffe` folder.
31+
### Common issues when pulling new commits from BVLC's branch
32+
- If compilation fails: regenerate `caffe.pb.h` and `caffe.pb.cc` files. This can be done by removing `src\caffe\proto\caffe.pb.h` file. The build process will regenerate if this file is missing.
33+
- If linking fails: it's likely that there are new `cpp` files that need to be added to the `caffelib` project.
1934

2035
## License and Citation
2136

Collapse file

‎caffex.sln‎ ‎caffe.sln‎caffex.sln renamed to caffe.sln

Copy file name to clipboard
File renamed without changes.
Collapse file

‎scripts/GeneratePB.bat‎

Copy file name to clipboardExpand all lines: scripts/GeneratePB.bat
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if exist "../src/caffe/proto/caffe.pb.h" (
22
echo caffe.pb.h remains the same as before
33
) else (
44
echo caffe.pb.h is being generated
5-
"../3rdparty/tools/protoc" -I="../src/caffe/proto" --cpp_out="../src/caffe/proto" "../src/caffe/proto/caffe.proto"
5+
..\3rdparty\tools\protoc -I="../src/caffe/proto" --cpp_out="../src/caffe/proto" "../src/caffe/proto/caffe.proto"
66
copy "..\src\caffe\proto\caffe.pb.h" "..\include\caffe\caffe.pb.h"
77
)
88

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.