Skip to content

Commit de64017

Browse files
committed
Initial Commit
0 parents  commit de64017

File tree

724 files changed

+141892
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

724 files changed

+141892
-0
lines changed

.Doxyfile

Lines changed: 2335 additions & 0 deletions
Large diffs are not rendered by default.

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
## General
2+
3+
# Compiled Object files
4+
*.slo
5+
*.lo
6+
*.o
7+
*.cuo
8+
*.obj
9+
10+
# Compiled Dynamic libraries
11+
*.so
12+
*.dylib
13+
*.dll
14+
15+
# Compiled Static libraries
16+
*.lai
17+
*.la
18+
*.a
19+
*.lib
20+
21+
# Compiled Executables
22+
*.exe
23+
24+
# Compiled protocol buffers
25+
*.pb.h
26+
*.pb.cc
27+
*_pb2.py
28+
29+
# Compiled python
30+
*.pyc
31+
*.pyd
32+
33+
# Compiled MATLAB
34+
*.mex*
35+
36+
# IPython notebook checkpoints
37+
.ipynb_checkpoints
38+
39+
# Editor temporaries
40+
*.swp
41+
*~
42+
43+
# Sublime Text settings
44+
*.sublime-workspace
45+
*.sublime-project
46+
47+
# Eclipse Project settings
48+
*.*project
49+
.settings
50+
51+
# QtCreator files
52+
*.user
53+
54+
# PyCharm files
55+
.idea
56+
57+
# Visual Studio Code files
58+
.vscode
59+
60+
# OSX dir files
61+
.DS_Store
62+
63+
## Caffe
64+
65+
# User's build configuration
66+
Makefile.config
67+
68+
# Data and models are either
69+
# 1. reference, and not casually committed
70+
# 2. custom, and live on their own unless they're deliberated contributed
71+
data/*
72+
models/*
73+
*.caffemodel
74+
*.caffemodel.h5
75+
*.solverstate
76+
*.solverstate.h5
77+
*.binaryproto
78+
*leveldb
79+
*lmdb
80+
81+
# build, distribute, and bins (+ python proto bindings)
82+
build
83+
.build_debug/*
84+
.build_release/*
85+
distribute/*
86+
*.testbin
87+
*.bin
88+
python/caffe/proto/
89+
cmake_build
90+
.cmake_build
91+
92+
# Generated documentation
93+
docs/_site
94+
docs/_includes
95+
docs/gathered
96+
_site
97+
doxygen
98+
docs/dev
99+
100+
# LevelDB files
101+
*.sst
102+
*.ldb
103+
LOCK
104+
LOG*
105+
CURRENT
106+
MANIFEST-*
107+
108+
#Visual Studio files
109+
*.user
110+
*.suo
111+
*.sdf
112+
*.opensdf
113+
*.pdb
114+
*.props

.travis.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
dist: trusty
2+
sudo: required
3+
4+
language: cpp
5+
compiler: gcc
6+
7+
env:
8+
global:
9+
- NUM_THREADS=4
10+
matrix:
11+
# Use a build matrix to test many builds in parallel
12+
# envvar defaults:
13+
# WITH_CMAKE: false
14+
# WITH_PYTHON3: false
15+
# WITH_IO: true
16+
# WITH_CUDA: false
17+
# WITH_CUDNN: false
18+
- BUILD_NAME="default-make"
19+
# - BUILD_NAME="python3-make" WITH_PYTHON3=true
20+
- BUILD_NAME="no-io-make" WITH_IO=false
21+
- BUILD_NAME="cuda-make" WITH_CUDA=true
22+
- BUILD_NAME="cudnn-make" WITH_CUDA=true WITH_CUDNN=true
23+
24+
- BUILD_NAME="default-cmake" WITH_CMAKE=true
25+
- BUILD_NAME="python3-cmake" WITH_CMAKE=true WITH_PYTHON3=true
26+
- BUILD_NAME="no-io-cmake" WITH_CMAKE=true WITH_IO=false
27+
- BUILD_NAME="cuda-cmake" WITH_CMAKE=true WITH_CUDA=true
28+
- BUILD_NAME="cudnn-cmake" WITH_CMAKE=true WITH_CUDA=true WITH_CUDNN=true
29+
30+
cache:
31+
apt: true
32+
directories:
33+
- ~/protobuf3
34+
35+
before_install:
36+
- source ./scripts/travis/defaults.sh
37+
38+
install:
39+
- sudo -E ./scripts/travis/install-deps.sh
40+
- ./scripts/travis/setup-venv.sh ~/venv
41+
- source ~/venv/bin/activate
42+
- ./scripts/travis/install-python-deps.sh
43+
44+
before_script:
45+
- ./scripts/travis/configure.sh
46+
47+
script:
48+
- ./scripts/travis/build.sh
49+
- ./scripts/travis/test.sh
50+
51+
notifications:
52+
# Emails are sent to the committer's git-configured email address by default,
53+
# but only if they have access to the repository. To enable Travis on your
54+
# public fork of Caffe, just go to travis-ci.org and flip the switch on for
55+
# your Caffe fork. To configure your git email address, use:
56+
# git config --global user.email [email protected]
57+
email:
58+
on_success: always
59+
on_failure: always
60+
61+
# IRC notifications disabled by default.
62+
# Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
63+
# irc:
64+
# channels:
65+
# - "chat.freenode.net#caffe"
66+
# template:
67+
# - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"

0 commit comments

Comments
 (0)