Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next: 0.9999 #880

Merged
merged 513 commits into from
Aug 8, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
513 commits
Select commit Hold shift + click to select a range
9905c20
Update vision_layers.hpp
ronghanghu Jul 4, 2014
dd82d97
Update pooling_layer.cpp
ronghanghu Jul 4, 2014
ce88f9f
Update pooling_layer.cu
ronghanghu Jul 4, 2014
7b727b0
fixing pooling SetUp() to allow default values for stride and pad
ronghanghu Jul 5, 2014
f74979e
add tests for rectangular pooling regions
ronghanghu Jul 5, 2014
34d1e93
Merge pull request #611 from shelhamer/makefile-config-cxx
shelhamer Jul 6, 2014
e10977f
fixed style errors
ronghanghu Jul 7, 2014
45e201d
added gradient check for non-square pooling
ronghanghu Jul 7, 2014
d82a1ea
Merge pull request #614 from ronghanghu/rectangular_pooling
jeffdonahue Jul 7, 2014
e5be754
Don't make clean when running linecount
jeffdonahue Jul 8, 2014
dc21bc1
Merge pull request #647 from jeffdonahue/nocleanlinecount
jeffdonahue Jul 8, 2014
ba8a2bb
Dump compiler warnings to *.warnings.txt; use "make warn" to print them
jeffdonahue Jul 8, 2014
933dc6e
Output a lint report for every source file linted; use to lint
jeffdonahue Jul 9, 2014
368288e
Merge pull request #649 from jeffdonahue/warnlog
shelhamer Jul 9, 2014
d86735e
Makefile: cleanup lint/warn report logic (and make the two more consi…
jeffdonahue Jul 9, 2014
37329cb
fix bug introduced by warning logs: errors didn't print because they
jeffdonahue Jul 9, 2014
e5f72b7
Merge pull request #661 from jeffdonahue/fix-error-output
jeffdonahue Jul 9, 2014
1679815
makefile hotfix
jeffdonahue Jul 9, 2014
3bd49ba
Avoid using cudaMemcpy for memcpy when there is no GPU and CUDA driver
kloudkl Jul 7, 2014
4d16ed5
Check the GPU mode to decide which memcpy to use
kloudkl Jul 9, 2014
00433d8
Switch to GPU mode when pointer is move to or from GPU in SyncedMemory
kloudkl Jul 9, 2014
ac0dd39
Implement @Yangqing's solution to copy memory in the SyncedMemory
kloudkl Jul 9, 2014
904c2ce
Replace cudaMemcpy with caffe_gpu_memcpy in SyncedMemory per @longjon
kloudkl Jul 9, 2014
efa7176
Merge pull request #633 from kloudkl/cpu-only-memcpy
longjon Jul 10, 2014
923b040
Back-merge documentation and fixes
shelhamer Jul 11, 2014
e07a2c0
fix link for caffe_rcnn_imagenet_model
shelhamer Jul 11, 2014
9c61462
back-merging [docs] changes and web demo [example] addition; updating
sergeyk Jul 12, 2014
e5ce15d
Move test headers to include/.
jeffdonahue Jul 12, 2014
00a8f3a
@huyng's .travis.yml integration configuration file to install and te…
Jul 10, 2014
24bfd03
-Override the default compiler by specifying a CXX in
jeffdonahue Jul 12, 2014
89d50ca
@jeffdonahue's tweaks to .travis.yml config:
jeffdonahue Jul 12, 2014
c962e7d
Travis build failure wasn't working for lint/warn because they didn't
jeffdonahue Jul 13, 2014
cdb6014
Merge pull request #681 from BVLC/travisci
shelhamer Jul 14, 2014
717b6b0
Seed HingeLossLayerTest; bad values can cause test (and therefore Travis
jeffdonahue Jul 14, 2014
1d3df1d
Merge pull request #685 from jeffdonahue/seed-hinge-loss-test
jeffdonahue Jul 14, 2014
856f06d
fix Makefile comment about library names
shelhamer Jul 14, 2014
9045fd2
Add --keep-going flag to first make so that any targets that can be
jeffdonahue Jul 14, 2014
89159f3
Run Travis build on all branches (remove whitelist from .travis.yml).
jeffdonahue Jul 14, 2014
9c65fba
Replace CUSTOM_CXX env var to specify non-default C++ compiler.
jeffdonahue Jul 14, 2014
97d6ccf
Add blank lines between fields for readability.
jeffdonahue Jul 14, 2014
43300d0
Merge pull request #694 from jeffdonahue/travis-tweaks
jeffdonahue Jul 14, 2014
c28823f
fix bug that breaks MATLAB 2014a compilation
rbgirshick Jul 15, 2014
12fe648
Merge pull request #696 from rbgirshick/matlab_2014a_fix
jeffdonahue Jul 15, 2014
304be2f
Fix SoftmaxLayerTest: forgot to change this one to use DtypesAndDevices;
jeffdonahue Jul 15, 2014
2285945
Merge pull request #698 from jeffdonahue/softmax-layer-test-devices-fix
jeffdonahue Jul 15, 2014
6a0883d
fix choice of clang++ in OS X build
shelhamer Jul 15, 2014
0271224
[example] elaborate net surgery description
shelhamer Jul 15, 2014
3e35a16
Fix Makefile warning error message.
jeffdonahue Jul 15, 2014
8a0ba0f
use layer_param instead of layers_[layer_id]->layer_param()
jeffdonahue Jul 9, 2014
b2a9a3c
Add param_propagate_down_ vector to layer, populate according to
jeffdonahue Jul 9, 2014
d5351bc
Make ConvolutionLayer and InnerProductLayer abide by param_propagate_…
jeffdonahue Jul 9, 2014
fb8c061
Use Blobs instead of SyncedMemorys for the bias_multiplier_'s.
jeffdonahue Jul 9, 2014
5b974e0
Add Net Test to verify correct param_propagate_down behavior.
jeffdonahue Jul 15, 2014
277bbe1
Merge pull request #660 from jeffdonahue/param-propagate-down
jeffdonahue Jul 15, 2014
53825cd
Another bugfix related to my CPU/GPU test changes: make NetTest a
jeffdonahue Jul 15, 2014
7dccb00
move using statements inside namespace caffe to avoid polluting the w…
Jul 16, 2014
b3ba56b
neuron_layers.hpp should not need to include leveldb
Jul 16, 2014
b6d881d
configure Makefile for CPU-only build
shelhamer Jun 30, 2014
41e063f
stub out GPU layer methods to crash loudly in CPU-only mode
shelhamer Jun 30, 2014
b882c3b
add guards to drop GPU code in CPU-only mode
shelhamer Jun 30, 2014
e52d91e
collect CUDA includes and calls, separate from CPU-only mode, leave out
shelhamer Jul 15, 2014
79a769c
switch travis build to CPU-only flag, drop runtestnogpu target
shelhamer Jul 17, 2014
5b302f0
relax benchmark test timing for cheap hardware / CI build
shelhamer Jul 16, 2014
f9f65e5
check CPU-only everything, CPU + GPU build with travis
shelhamer Jul 17, 2014
6b82d65
Merge pull request #561 from shelhamer/cpu-only-build
shelhamer Jul 17, 2014
d6f3ade
compute_image_mean namespace fix.
Jul 17, 2014
518b5f4
Merge pull request #716 from Yangqing/dev
jeffdonahue Jul 17, 2014
8ad32ec
lint
Jul 18, 2014
8702746
Merge pull request #718 from Yangqing/dev
Yangqing Jul 18, 2014
fa6397e
cosmetics: add syntax = proto2
Jul 18, 2014
5902931
Merge pull request #730 from Yangqing/sweep
Yangqing Jul 18, 2014
7683986
reapply namespace change
Jul 18, 2014
ccc4b30
add Net::Forward/Backward From/To
longjon Feb 18, 2014
3ef43e4
pycaffe: expose Forward/Backward From/To as kwargs start and end
longjon Jun 19, 2014
a270763
comment in net.hpp to explain subtleties of From/To on DAGs
longjon Jul 18, 2014
1c23286
test consistency of From/To Forward/Backward
longjon Jul 18, 2014
49381cc
use /usr instead of /usr/local for default Python include/lib
longjon Jul 18, 2014
e8b23c4
Travis builds pycaffe
longjon Jul 18, 2014
61bd7ea
Merge pull request #732 from longjon/travis-pycaffe
jeffdonahue Jul 18, 2014
fc48d5d
pycaffe: allow unspecified mean. Fixes #671.
longjon Jul 18, 2014
32fefa9
pycaffe: reorder exceptions
longjon Jul 18, 2014
fb2f7c1
pycaffe: test channel_order and input_scale against None
longjon Jul 18, 2014
7722514
Extend the ArgMaxLayer to output top k results
kloudkl Jul 4, 2014
b9a9c58
Add the test cases for the mulitple top predictions argmax layer
kloudkl Jul 5, 2014
dfe69b2
Simplify the top-k argmax layer using std::sort
kloudkl Jul 8, 2014
4697b3f
Use std::partial_sort in the ArgMaxLayer as suggested by @shuokay
kloudkl Jul 9, 2014
7b1a2ca
Move compararing function from common_layers to argmax_layer
kloudkl Jul 10, 2014
907c78a
Refactor the accuracy layer with std::partial_sort
kloudkl Jul 10, 2014
6abdb00
Add more test cases for the accuracy layer
kloudkl Jul 10, 2014
cf26171
Limit the comparison functions to have file scope
kloudkl Jul 11, 2014
fe3f6aa
Include <utility> for pair in the accuracy layer
kloudkl Jul 12, 2014
a928148
Fix style issues in accuracy & argmax layer
kloudkl Jul 19, 2014
00ecb24
use Blob directly instead of shared_ptr for ConvolutionLayer::bias_mu…
longjon Jul 1, 2014
40054a7
use Blob directly instead of shared_ptr for InnerProductLayer::bias_m…
longjon Jul 20, 2014
0354406
use Blob directly instead of shared_ptr for PoolingLayer::max_idx_
longjon Jul 1, 2014
f6696d8
use Blob directly instead of shared_ptr for DropoutLayer::rand_vec_
longjon Jul 1, 2014
b8159f7
use Blob directly instead of shared_ptr for DataLayer buffers
longjon Jul 20, 2014
6761735
use Blob directly instead of shared_ptr for ImageDataLayer buffers
longjon Jul 20, 2014
21b0190
use Blob directly instead of shared_ptr for WindowDataLayer buffers
longjon Jul 20, 2014
29fd174
add an "everything" target to make for comprehensive build testing
longjon Jul 20, 2014
42b0314
Merge pull request #518 from longjon/fromto
longjon Jul 20, 2014
968f826
remove unused includes in AccuracyLayer and ArgMaxLayer
longjon Jul 20, 2014
4bcd614
Merge pull request #615 from kloudkl/top-k-argmax
longjon Jul 20, 2014
477ecfa
Merge pull request #743 from longjon/make-everything
jeffdonahue Jul 20, 2014
fb5c568
Merge pull request #742 from longjon/direct-blob-buffers
jeffdonahue Jul 20, 2014
24e92e1
Merge pull request #752 from Yangqing/sweep
jeffdonahue Jul 21, 2014
0193012
leaky relu + unit test
qipeng Jul 19, 2014
ba3ea2b
reduced multiplications & fixed unit test
qipeng Jul 20, 2014
51146b4
Merge pull request #740 from qipeng/lrelu
jeffdonahue Jul 22, 2014
324973a
Add split dim layer
ste-m5s Jul 12, 2014
5db5b31
SliceLayer: post-rebase fixes, cleanup, etc. (some from changes
jeffdonahue Jul 22, 2014
9959058
Merge pull request #755 from jeffdonahue/bhack-split_dim
jeffdonahue Jul 22, 2014
4bd3624
Fix repeated field copy loop
ste-m5s Jul 22, 2014
0ade27b
Correctly apply padding to pooling layers when upgrading from V0
rbgirshick Jul 22, 2014
e254446
Merge pull request #760 from bhack/fix_loopcopy
jeffdonahue Jul 22, 2014
c4e6b48
Merge pull request #762 from rbgirshick/upgrade-pad-pooling-layers
jeffdonahue Jul 22, 2014
1ceb791
Use the same CXX for matcaffe as for the rest of the build
rbgirshick Jul 23, 2014
72620da
Merge pull request #766 from rbgirshick/matcaffe-cxx
jeffdonahue Jul 23, 2014
bd6527b
numerical stability improvement
qipeng Jul 23, 2014
95e1e24
Merge pull request #773 from qipeng/lrelu
jeffdonahue Jul 23, 2014
15bc0f7
add gflags dependency to caffe.
Jul 24, 2014
d13d6a2
add gflags dependency doc
Jul 24, 2014
09f196b
gflags should preferrably be installed before glog
Jul 24, 2014
57d7ecb
Cleanup pthread code for data layers
arntanguy Jul 16, 2014
5fbf4af
travis
Jul 24, 2014
6136f5d
travis - does adding cflags help? want to keep minimal invasion into …
Jul 24, 2014
781630d
turns out that glog does not compile with gflags 2.1 - compiling glog…
Jul 24, 2014
ca7d992
I am really bad at debugging travis.
Jul 24, 2014
e8dc0ee
travis: gflags still needs -fPIC, otherwise it makes caffe cry.
Jul 24, 2014
f80911f
Merge pull request #776 from Yangqing/sweep
Yangqing Jul 24, 2014
6f46bb9
include benchmark.hpp
Jul 25, 2014
a916ef4
Adding new caffe binary that does everything in one binary; deprecati…
Jul 25, 2014
2ced4c9
lint
Jul 25, 2014
2cfbda5
oops, wrong deprecation message (should have --)
Jul 25, 2014
7de3382
Add gradient checks for infogain loss layer, letting it take the
jeffdonahue Jul 24, 2014
70b01f2
using caffe::string to be consistent with other string definition.
Jul 26, 2014
c521e7e
Merge pull request #793 from jeffdonahue/infogain-test
jeffdonahue Jul 26, 2014
9862d5a
LOG(ERROR)->LOG(FATAL), and misc script changes.
Jul 26, 2014
d5f1a50
Merge pull request #789 from Yangqing/sweep
Yangqing Jul 26, 2014
149a176
Print blob L1 norms during forward/backward passes and updates if
jeffdonahue Jul 26, 2014
6999711
Print just the mean absolute value (no sum/l1norm)
jeffdonahue Jul 26, 2014
0e3d970
Merge pull request #796 from jeffdonahue/solver-debug-info
jeffdonahue Jul 26, 2014
4fe16db
Fix my nonsensical variable names.
jeffdonahue Jul 27, 2014
84c424b
Make training iterations 0-indexed.
jeffdonahue Jul 27, 2014
91ed16b
Move loss display before lr display in ComputeUpdateValue.
jeffdonahue Jul 27, 2014
4bd9489
Merge pull request #800 from jeffdonahue/zero-indexed-train-iter
jeffdonahue Jul 27, 2014
6d71c51
Symlink to tool bins without the .bin extension
jeffdonahue Jul 27, 2014
a84ba3d
Merge pull request #802 from jeffdonahue/caffe-bin-symlink
Yangqing Jul 27, 2014
0aa8dca
relaxed timer test requirements
qipeng Jul 27, 2014
4f12cc7
Update image_data_layer.cpp
alfredtofu Jul 28, 2014
19e87d9
Only install the minimal CUDA subpackages necessary for building.
jeffdonahue Jul 28, 2014
4d66551
Merge pull request #806 from jeffdonahue/travis-minimal-cuda
jeffdonahue Jul 28, 2014
6388b04
set_mode to CPU in ArgMaxLayerTest constructor to avoid random Travis
jeffdonahue Jul 27, 2014
f8f4294
Merge pull request #807 from qipeng/dev
jeffdonahue Jul 28, 2014
86cc3e9
Merge pull request #805 from alfredtofu/dev
Yangqing Jul 28, 2014
9fc6ff3
gflags 2.1 bugfix (or rather a hack).
Yangqing Jul 28, 2014
ad5ce91
fixing comment
Yangqing Jul 28, 2014
d842f4a
Merge pull request #733 from longjon/pycaffe-tweaks
shelhamer Jul 28, 2014
cd1313f
lint
Yangqing Jul 28, 2014
7752032
Merge pull request #812 from Yangqing/sweep
sergeyk Jul 28, 2014
cbc507e
FIX: tests now catch bug reported in #750 (in HDF5 output layer)
sergeyk Jul 28, 2014
65c9c4a
FIX: both data and label now copied correctly in HDF5 output layer
sergeyk Jul 28, 2014
416a7a1
FIX: updating HDF5 input test for new test data
sergeyk Jul 28, 2014
dff2023
make "all" the default target
shelhamer Jul 28, 2014
05314ff
Merge pull request #813 from sergeyk/dev
sergeyk Jul 28, 2014
2e48c3f
[docs] fix missing glog install cd
shelhamer Jul 29, 2014
fdb1903
[docs] install glog first given incompatibility
shelhamer Jul 29, 2014
f314022
[docs] compile gflags with -fPIC for linking
shelhamer Jul 29, 2014
edf438a
add h/w kernel size, stride, and pad for non-square filtering
shelhamer Jun 16, 2014
4d44fe7
im2col + convolve non-square filters, padding, and stride
shelhamer Jun 30, 2014
909e4d8
test rectangular im2col
shelhamer Jun 18, 2014
ca4482c
fix GPU indexing
shelhamer Jul 29, 2014
dadeb99
test non-square filters by separable convolution of Sobel operator
shelhamer Jul 29, 2014
5542cf7
Merge pull request #505 from shelhamer/non-square-filters
shelhamer Jul 29, 2014
374218a
Fix choice MKL directory from Makefile.config
arntanguy Jul 29, 2014
c5bde07
Merge pull request #820 from geenux/dev-fixmake
shelhamer Jul 29, 2014
c2b74c3
Add NetState message with phase, level, stage; NetStateRule message with
jeffdonahue Jul 18, 2014
b883356
Add unit tests and skeleton code for Net/Solver filtering functionality.
jeffdonahue Jul 29, 2014
cb4555c
Incorporate NetState{,Rule} into Solver/Net. Net::FilterNet
jeffdonahue Jul 18, 2014
e526e2d
Use unified train/test nets in examples.
jeffdonahue Jul 18, 2014
16b7b25
Merge pull request #734 from jeffdonahue/all-in-one-net
jeffdonahue Jul 29, 2014
8b7964b
Merge pull request #710 from geenux/dev
jeffdonahue Jul 29, 2014
41a5637
fix some namespace with std::signbit
yajiedesign Jul 25, 2014
6485be0
Set correct solver_mode in SolverTest so Travis build doesn't randomly
jeffdonahue Jul 29, 2014
afa09ec
Also apply HDF5OutputLayer fix to GPU version.
jeffdonahue Jul 30, 2014
9fd4f52
Merge pull request #823 from jeffdonahue/hdf5output-gpu-fix
jeffdonahue Jul 30, 2014
4496258
[docs] install update: dependencies, CPU-only, Ubuntu 14.04
shelhamer Jul 30, 2014
62bbc41
link OpenBLAS as blas
shelhamer Jul 30, 2014
a08faf6
[docs] contact us on webpage
sergeyk Jul 15, 2014
0428913
[fix] adding requirements.txt for web_demo. Closes #704
sergeyk Jul 16, 2014
4f0e38a
[example] standardize imagenet leveldb names
shelhamer Jul 29, 2014
d726338
[docs] announce caffe-users
shelhamer Jul 30, 2014
e4dece5
[example] include image dimensions for oversampling
shelhamer Jul 30, 2014
446aa21
Merge pull request #825 from shelhamer/mailing-list
jeffdonahue Jul 30, 2014
ee03ede
[example] fix imagenet classification typo
shelhamer Aug 1, 2014
8c15185
Included cmath in common.hpp to avoid isnan complaints from the xcode…
qipeng Jul 31, 2014
9f2b8f3
turns out you need using::isnan too
qipeng Aug 1, 2014
7eb8a6f
the compiler complains about solver tests using pointers as bool
qipeng Aug 1, 2014
d78a8de
lint
qipeng Aug 1, 2014
21d1d91
fixed unnecessary conversions in test_solver, and rearraged common.hp…
qipeng Aug 1, 2014
fc4e1d1
fix compiler complaint in matcaffe
qipeng Aug 1, 2014
737b79e
Test that DropoutLayer obeys dropout_ratio.
jeffdonahue Aug 2, 2014
d9a500f
Merge pull request #839 from jeffdonahue/test-dropout-ratio
jeffdonahue Aug 2, 2014
8880ac8
Add script to speedtest imagenet (currently broken as FilterNet ignores
jeffdonahue Aug 2, 2014
81e240b
Add tests for phase filtering according to Caffe singleton phase
jeffdonahue Aug 2, 2014
4cece16
Fix speedtest (and possibly other tools) by setting the net phase to the
jeffdonahue Aug 2, 2014
b6980eb
Merge pull request #840 from jeffdonahue/fix-net-speedtest
jeffdonahue Aug 2, 2014
6b6b9b5
Merge pull request #834 from qipeng/dev
Yangqing Aug 3, 2014
db286e4
Fix and improve multiple places about random number generation and
netheril96 Aug 4, 2014
7bf2268
Merge pull request #848 from netheril96/random
jeffdonahue Aug 4, 2014
5f520af
modified test_concat_layer.cpp
Aug 3, 2014
36fd64c
Add 'snapshot_after_train' to SolverParameter to override the final
jeffdonahue Aug 4, 2014
b08729e
Add (momentum) SGD solver tests to check that learning rate, weight
jeffdonahue Aug 3, 2014
7b54598
Merge pull request #855 from jeffdonahue/sgd-solver-test
jeffdonahue Aug 4, 2014
6786385
Add "lintclean" target to remove current lint outputs -- forces lint to
jeffdonahue Aug 2, 2014
bd28879
Enable the 'build/include_alpha' rules to make lint check that the
jeffdonahue Aug 2, 2014
92f00dd
Fix header alphabetization lint errors.
jeffdonahue Aug 2, 2014
c1faaa3
Fix conflict on setting of LRN layers between train/test net and depl…
beam2d Aug 5, 2014
6764e22
Merge pull request #859 from beam2d/fix-cifar-lrn-region
jeffdonahue Aug 5, 2014
d1d499d
Merge pull request #856 from jeffdonahue/lint-tweaks
jeffdonahue Aug 5, 2014
99f27fc
define caffe.Net input preprocessing members by boost::python
shelhamer Jul 28, 2014
6c87b92
[example] add caffe to pythonpath in all examples
shelhamer Jul 29, 2014
943b98e
[example] fix example outputs
shelhamer Jul 28, 2014
f1eb982
[example] include prediction in classification, time on GTX 770
shelhamer Jul 29, 2014
d5c3cef
fix pycaffe input processing
shelhamer Jul 31, 2014
e1b3413
take array in pycaffe `Net.set_mean()` instead of file path
shelhamer Aug 2, 2014
4f77269
fix pycaffe context cropping with or without mean
shelhamer Aug 2, 2014
0db9478
drop np.asarray() in favor of declaration (~1.75x speedup)
shelhamer Aug 5, 2014
52d7a48
Merge pull request #816 from shelhamer/pycaffe-labels-grayscale-attrs…
shelhamer Aug 6, 2014
9410e93
clarify the license and copyright terms of the project
shelhamer Aug 6, 2014
b97b88f
LICENSE governs the whole project so strip file headers
shelhamer Aug 6, 2014
72effc0
[docs] detail attribution, license, and copyright for development
shelhamer Aug 6, 2014
e788eae
lint for copyright
shelhamer Aug 6, 2014
a7d279e
Merge pull request #868 from shelhamer/license-copyright
shelhamer Aug 7, 2014
51074e9
Painless binary mean conversion to matlab matrices.
ashafaei Aug 6, 2014
de6123c
rename tools
shelhamer Aug 7, 2014
8eb05e1
consolidaet GPU flag for caffe cli
shelhamer Aug 7, 2014
fa08494
output INFO from caffe cli to stderr by default
shelhamer Aug 7, 2014
3655aa9
give usage message for caffe cli
shelhamer Aug 7, 2014
8634885
rename caffe cli args and revise text
shelhamer Aug 7, 2014
5c46d79
check required caffe cli args
shelhamer Aug 7, 2014
7dcf592
comment caffe cli
shelhamer Aug 7, 2014
76633d3
consolidate test into caffe cli
shelhamer Aug 7, 2014
e3de3d5
fix deprecation warnings
shelhamer Aug 7, 2014
13d625b
update cli usage in examples
shelhamer Aug 7, 2014
3b07be0
consolidate gpu and device_id args in caffe tool
shelhamer Aug 7, 2014
5ed0df2
Merge pull request #872 from shelhamer/caffe-tool
jeffdonahue Aug 7, 2014
285f615
Back-merge documentation and fixes
shelhamer Aug 7, 2014
c9fd660
[example] fix broken links in ImageNet recipe
shelhamer Aug 8, 2014
70a6b0b
[docs] fix find complaint in example gathering script
shelhamer Aug 8, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
*.mex*

# build, distribute, and bins
build/*
build
.build_debug/*
.build_release/*
distribute/*
*.testbin
*.bin
Expand Down
25 changes: 21 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,43 @@ before_install:
- echo $LANG
- echo $LC_ALL
- sudo apt-get -y update
- sudo apt-get -y install wget git curl python-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc
- sudo apt-get -y install wget git curl python-dev python-numpy libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc

install:
- wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz -O /tmp/glog-0.3.3.tar.gz && tar -C /tmp -xzvf /tmp/glog-0.3.3.tar.gz && rm /tmp/glog-0.3.3.tar.gz
- cd /tmp/glog-0.3.3 && ./configure && make && sudo make install && cd -
- wget https://github.com/schuhschuh/gflags/archive/master.zip -O /tmp/gflags-master.zip && pushd /tmp/ && unzip gflags-master.zip && cd gflags-master && mkdir build && cd build && export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1 && sudo make install && popd
- curl http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.0-37_amd64.deb -o /tmp/cuda_install.deb && sudo dpkg -i /tmp/cuda_install.deb && rm /tmp/cuda_install.deb
- sudo apt-get -y update && sudo apt-get -y install cuda
- sudo apt-get -y update
# Install the minimal CUDA subpackages required to test Caffe build.
# For a full CUDA installation, add 'cuda' to the list of packages.
- sudo apt-get -y install cuda-core-6-0 cuda-extra-libs-6-0
# Create CUDA symlink at /usr/local/cuda
# (This would normally be created by the CUDA installer, but we create it
# manually since we did a partial installation.)
- sudo ln -s /usr/local/cuda-6.0 /usr/local/cuda
- curl https://gitorious.org/mdb/mdb/archive/7f038d0f15bec57b4c07aa3f31cd5564c88a1897.tar.gz -o /tmp/mdb.tar.gz && tar -C /tmp -xzvf /tmp/mdb.tar.gz && rm /tmp/mdb.tar.gz
- cd /tmp/mdb-mdb/libraries/liblmdb/ && make && sudo make install && cd -

before_script:
- mv Makefile.config.example Makefile.config
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- export NUM_THREADS=4

script:
- make --keep-going --jobs=$NUM_THREADS all test lint
# CPU-GPU: build only.
- export CPU_ONLY=0
- make --keep-going --jobs=$NUM_THREADS all
- make clean
# CPU-only: comprehensive.
- export CPU_ONLY=1
- make --keep-going --jobs=$NUM_THREADS all test warn lint
- make runtest
- make --jobs=$NUM_THREADS all
- make --jobs=$NUM_THREADS test
- make --jobs=$NUM_THREADS warn
- make --jobs=$NUM_THREADS lint
- make --jobs=$NUM_THREADS pycaffe

notifications:
# Emails are sent to the committer's git-configured email address by default,
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ to see line-by-line credits and
to see the change log even across renames and rewrites.

Please refer to the [acknowledgements](http://caffe.berkeleyvision.org/#acknowledgements) on the Caffe site for further details.

**Copyright** is held by the original contributor according to the versioning history; see LICENSE.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
COPYRIGHT

All contributions by the University of California:
Copyright (c) 2014, The Regents of the University of California (Regents)
All rights reserved.

All other contributions:
Copyright (c) 2014, the respective contributors
All rights reserved.

Caffe uses a shared copyright model: each contributor holds copyright over
their contributions to Caffe. The project versioning records all such
contribution and copyright details. If a contributor wants to further mark
their specific copyright on a particular contribution, they should indicate
their copyright solely in the commit message of the change when it is
committed.

LICENSE

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Expand All @@ -20,3 +36,9 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

CONTRIBUTION AGREEMENT

By contributing to the BVLC/caffe repository through pull-request, comment,
or otherwise, the contributor releases their content to the
license and copyright terms herein.
Loading