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

core dumped #1

Open
wants to merge 2,945 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2945 commits
Select commit Hold shift + click to select a range
29f0cdb
parse_log.py was not using --verbose argument
kts Jan 24, 2017
b015b73
Merge pull request #5220 from kts/bugfix
shelhamer Jan 24, 2017
6bf10af
Fix broken links in layer documentation, minor fixes.
williford Jan 20, 2017
746a77e
Merge pull request #5227 from williford/caffe-git-pr2
shelhamer Jan 26, 2017
7b5731c
Remove sdk version from veclib searching path.
solrex Jan 30, 2017
cd89d4b
docs: update install_apt_debian guide
cdluminate Feb 1, 2017
39f28e4
Merge pull request #5242 from CDLuminate/doc-update-debian-guide
shelhamer Feb 1, 2017
734702b
Document switch to explicit flags for docker: cpu / gpu.
cypof Feb 8, 2017
9c201e1
make: bump version to rc4
shelhamer Feb 9, 2017
15dfcc1
Add Pascal CUDA architectures to Makefile.config.example
crowsonkb Feb 9, 2017
d8f7953
Merge pull request #5272 from crowsonkb/master
shelhamer Feb 10, 2017
929135b
Merge pull request #5210 from ftokarev/patches
shelhamer Feb 16, 2017
28ffe9c
Merge pull request #5236 from solrex/veclib-fix
shelhamer Feb 16, 2017
c510e33
Merge pull request #4347 from nitnelave/python/layer_dict
shelhamer Feb 17, 2017
c5fad40
Merge pull request #3893 from rscohn2/patch-1
shelhamer Feb 17, 2017
8a7a61a
Merge pull request #5074 from garion9013/master
shelhamer Feb 17, 2017
4b65348
Merge pull request #5010 from ngaloppo/fix_drawnet
shelhamer Feb 17, 2017
25dfdfb
Merge pull request #4721 from kashefy/fix_matlab_demo_typos
shelhamer Feb 17, 2017
475d619
Merge pull request #4737 from rokm/matcaffe-individual-destruct
shelhamer Feb 17, 2017
9bb1b9c
Merge pull request #4609 from intelfx/BVLC-work-buildsystem
shelhamer Feb 17, 2017
23fca12
version bump: rc5
shelhamer Feb 17, 2017
16467ff
Merge pull request #5296 from shelhamer/rc5
shelhamer Feb 21, 2017
85ab610
fix broken link to hinge loss
shelhamer Feb 27, 2017
fe9e58d
Remove not used variable in base_conv_layer.cpp
zhuyuanhao Mar 1, 2017
e687a71
Merge pull request #4630 from BlGene/load_hdf5_fix
shelhamer Mar 8, 2017
4529f12
Removed some 'warning: extra ‘;’ [-Wpedantic]'
gineshidalgo99 Mar 10, 2017
1d3e6e4
Solver_add_nccl accepts any kind of Solver
jfolz Mar 13, 2017
317d162
Merge pull request #5393 from jfolz/master
cypof Mar 13, 2017
93993a3
Init test net on all GPUs, allows parallel inference
cypof Mar 14, 2017
802d90f
Added python 3 compatibility to cpp_lint.py
willyd Mar 17, 2017
accd188
sane h5df file type check for weights
BlGene Mar 8, 2017
367a6e2
Merge pull request #5372 from BlGene/hdf5-load-fix
erictzeng Mar 21, 2017
11930f1
Clarify batch norm parameter documentation.
williford Mar 22, 2017
5c8e354
[caffe][build] added Atlas lapack Library name atllapack
BlGene Mar 22, 2017
1e02d62
[caffe][build] added ABS_TEST_DATA_DIR var.
BlGene Mar 22, 2017
793bd96
Merge pull request #5434 from williford/batchnorm_doc2
shelhamer Mar 23, 2017
8602a23
Expose share_weights to python to allow running test nets
cypof Mar 27, 2017
850ffd8
Remove missed legacy parallel code
cypof Mar 27, 2017
9bd80b2
Fix typo in test_caffe_main.cpp: defice -> device
YuduoWu Mar 29, 2017
a32114e
Fixed memory leaks in cudnn conv and relu
willcrichton Mar 31, 2017
a2601ed
Revert "Fix Python net drawing script"
lukeyeager Mar 31, 2017
0096fe3
Add support for cuDNN v6
flx42 Mar 31, 2017
179dafd
Add test for caffe.draw.draw_net()
lukeyeager Mar 31, 2017
5ad9e53
Merge pull request #5478 from flx42/cudnn6-support
shelhamer Mar 31, 2017
c0597b1
Merge pull request #5477 from lukeyeager/bvlc/test-draw-net
shelhamer Mar 31, 2017
41e34c9
Minor fix for net drawing script
nitheeshas Apr 4, 2017
31bfe8f
Add main() for draw_net unittest, fix import errors
nitheeshas Apr 4, 2017
5f1ca84
Add example and small blurb about sigmoid layer.
williford Apr 5, 2017
e9f7941
Merge pull request #5487 from nitheeshas/fix-draw-net
shelhamer Apr 6, 2017
daf0139
Merge pull request #5491 from caffe-help/sigmoid-doc-1
shelhamer Apr 6, 2017
af2a626
Merge pull request #5467 from yuduowu/master
shelhamer Apr 6, 2017
7b9f2ac
Merge pull request #5380 from gineshidalgo99/pull-request-supressed-s…
shelhamer Apr 7, 2017
ce7193c
Removed repeated import Layer, get_solver
willyd Apr 8, 2017
b2a95fa
Log shape dimensions for eltwise layer shape mismatch
brunobowden Apr 8, 2017
88b10af
Merge pull request #5503 from brunobowden/shape_check_eq
shelhamer Apr 12, 2017
90eff9b
Merge pull request #5455 from cypof/remove_shared_parallel
cypof Apr 12, 2017
41a7d21
Merge pull request #5408 from cypof/multi_infer
cypof Apr 12, 2017
31a18c2
Merge pull request #5474 from willcrichton/master
cypof Apr 12, 2017
51728d1
Fix log parsing #5422
cypof Apr 12, 2017
bac59be
Allow using env vars for glog init from python
cypof Apr 12, 2017
35a7b87
fixes pycaffe forward() and backward() behavior for nets whose layer …
Noiredd Apr 12, 2017
31e634b
Merge pull request #5420 from willyd/py3-lint
shelhamer Apr 12, 2017
02f1c58
Merge pull request #5515 from cypof/py_glog_env
shelhamer Apr 12, 2017
6ba1486
Merge pull request #5506 from willyd/pycaffe-fix
shelhamer Apr 13, 2017
3a98796
remove redundant check in LSTMUnitLayer
Apr 13, 2017
c43eb0b
Merge pull request #5437 from BlGene/test-path-fix
shelhamer Apr 13, 2017
fecee6c
Merge pull request #5337 from zhuyuanhao/master
shelhamer Apr 13, 2017
9687062
Bump boost version to 1.55 in CMake build
willyd Apr 13, 2017
0c9cc62
Added support for python 3 and NCCL
willyd Mar 12, 2017
e98023a
Add GPU sqrt functions
Dec 29, 2016
e93fcd2
GPU BatchNormLayer: replace powx with mul and sqrt
Dec 29, 2016
ab33988
Add CPU sqrt functions
jeffdonahue Apr 13, 2017
1c15d94
CPU BatchNormLayer: replace powx with sqr and sqrt
jeffdonahue Apr 13, 2017
c560658
Merge pull request #5136 from pfollmann/fix_batchnorm_layer
jeffdonahue Apr 13, 2017
5e6ffd7
Merge pull request #4182 from ajschumacher/handle_dtypes
shelhamer Apr 13, 2017
3d5bed0
fix: add non-MKL sqrt (should have been included in ab33988)
jeffdonahue Apr 13, 2017
f522d9c
Merge pull request #5521 from kkhoot/fix_lstm_unit_check
jeffdonahue Apr 13, 2017
2ec19b6
deprecate WindowData layer type
shelhamer Apr 13, 2017
a54b943
Merge pull request #5527 from willyd/nccl-py3
cypof Apr 13, 2017
e7163f6
Updated Travis boost dependencies
willyd Apr 14, 2017
ea2d786
Merge pull request #5526 from willyd/boost-1_55
shelhamer Apr 14, 2017
8bc82c6
[examples] switch cifar-10 back to proto instead of h5 serialization
shelhamer Apr 14, 2017
c425f23
Merge pull request #4576 from CDLuminate/add-bash-completion
shelhamer Apr 14, 2017
950e003
Merge pull request #4237 from CDLuminate/cmake-using-gnuinstalldirs
shelhamer Apr 14, 2017
aa29eba
Explicit std::string to bp::object conversion
willyd Apr 14, 2017
e6b2ba5
Merge pull request #5519 from Noiredd/master
shelhamer Apr 14, 2017
c7abdae
Merge pull request #3825 from jasjuang/master
shelhamer Apr 14, 2017
c19c960
Test for python forward and backward with start and end layer.
cdoersch Aug 25, 2015
861a12d
Merge pull request #4566 from CDLuminate/fix-more-float-comparison-issue
shelhamer Apr 14, 2017
1836b1b
Merge pull request #5514 from cypof/fix_parse_log
shelhamer Apr 14, 2017
4519443
[docs] added apt command to install OpenBLAS (#4718)
jgyllinsky Apr 14, 2017
2cbc1bb
Merge pull request #3855 from shaibagon/upgrade_infogain
shelhamer Apr 14, 2017
c11e782
Merge pull request #3913 from antran89/master
shelhamer Apr 14, 2017
1df3a25
Merge pull request #3153 from jeffdonahue/netspec-type-check
shelhamer Apr 14, 2017
6137b24
Merge pull request #3411 from ghost/patch-3
shelhamer Apr 14, 2017
08bded8
Merge pull request #3410 from ghost/patch-2
shelhamer Apr 14, 2017
68215cc
Merge pull request #2612 from ih4cku/master
shelhamer Apr 14, 2017
8007349
fix lint errors that snuck in by #4566
shelhamer Apr 14, 2017
4db619a
Docker update to cuDNN 6
cypof Apr 14, 2017
44da39f
BVLC -> BAIR
shelhamer Apr 14, 2017
3562698
drop performance + hardware page and switch to sheet
shelhamer Apr 14, 2017
0f5bfc3
favor notebook examples as more clear and popular
shelhamer Apr 14, 2017
2158bbb
model zoo: point out wiki link immediately, explain manual editing
shelhamer Apr 14, 2017
414b74c
add missing names to BAIR roster
shelhamer Apr 14, 2017
e90a6a6
retire caffe-dev and caffe-coldpress
shelhamer Apr 14, 2017
8985818
track publications by google scholar and not the wiki
shelhamer Apr 14, 2017
8b8f2dd
link to new full-day crash course
shelhamer Apr 14, 2017
49761d3
Caffe 1.0
shelhamer Apr 14, 2017
28780e9
Merge pull request #5529 from shelhamer/deprecate-window
shelhamer Apr 14, 2017
2e33792
Merge pull request #5531 from shelhamer/py-test-layer-top-names
shelhamer Apr 14, 2017
946c9b8
Merge pull request #5537 from shelhamer/docs-grooming
shelhamer Apr 14, 2017
a7a7d30
Merge pull request #5536 from cypof/docker_cudnn6
shelhamer Apr 15, 2017
69cf20a
Merge pull request #5539 from shelhamer/caffe-1.0
shelhamer Apr 15, 2017
eeebdab
Merge pull request #5530 from willyd/nccl-py3
cypof Apr 15, 2017
fb0795c
Shape mismatch CHECK logging improvements
brunobowden Apr 17, 2017
33f8612
Rewrite crop cuda kernel
erictzeng Apr 19, 2017
cd1696d
Fix crop layer lint errors
erictzeng Apr 19, 2017
ec35395
Handling destruction of empty Net objects
May 4, 2017
c293d9d
Merge pull request #5588 from ShaggO/matlab-fix-delete
shelhamer May 4, 2017
7d3f8a7
Merge pull request #5548 from erictzeng/crop
shelhamer May 4, 2017
0cb449e
Update euclidean_loss_layer.hpp
ZoroDerVonCodier May 8, 2017
b7e2b99
Downgrade boost requirement from 1.55 to 1.54
lukeyeager May 12, 2017
25391bf
Merge pull request #5617 from lukeyeager/boost-1.54
shelhamer May 12, 2017
30a2ab7
cmake: rename libproto.a -> libcaffeproto.a
cdluminate May 15, 2017
83814da
docs/debian guide: update compiler combination table
cdluminate May 15, 2017
27ffbbf
Merge pull request #5625 from CDLuminate/docs-update
shelhamer May 15, 2017
91b0928
Merge pull request #5624 from CDLuminate/cmake-rename-static-proto-li…
shelhamer May 15, 2017
264cf19
List branches in readme
cypof Jun 13, 2017
f16b5f2
Merge pull request #5687 from BVLC/readme_list_branches
cypof Jun 14, 2017
4efdf7e
Update README.md
cypof Jun 20, 2017
c209c92
Fixed bug where make distribute duplicates python files in distribute…
Jun 21, 2017
4a2f2a0
docs: update apt installation guide for Debian and Ubuntu
cdluminate Jul 8, 2017
eedf7c1
docs: add Ubuntu package tracker link in Ubuntu guide
cdluminate Jul 8, 2017
3d7cfc4
Update lrn.md
Lydorn Jul 10, 2017
af9d6bc
update sklearn calls to use latest API
Jul 12, 2017
4b98f06
update deprecated pandas call
Jul 12, 2017
751a570
[DOC][FIX] fix web demo install instruction link
jqueguiner Aug 1, 2017
f10e24b
Merge pull request #5770 from skylarjhdownes/master
shelhamer Aug 3, 2017
516c135
Merge pull request #5760 from Lydorn/patch-1
shelhamer Aug 3, 2017
7ad1342
Merge pull request #5753 from CDLuminate/docs-update-deb-ub
shelhamer Aug 3, 2017
315641b
Fix hardcode xcode path
ek9852 Aug 4, 2017
86d451e
Merge pull request #5824 from ek9852/master
shelhamer Aug 6, 2017
1de4ceb
Update README.md
cypof Aug 17, 2017
7b72120
Fix caffe rpath
Aug 21, 2017
1f1326d
Update link to google style guide.
cijianzy Aug 21, 2017
3dad332
modified division operator for compatibility of python 3
wasnot Sep 6, 2017
ea455eb
Merge pull request #5900 from wasnot/fix/py3-division-compat
longjon Sep 6, 2017
8bdc87f
Expose GPU pointers to Python
tnarihi Mar 11, 2015
d2625f8
Implement CuDNN-based deconvolution layer and test
bowang Sep 10, 2017
fb31463
Fix format
bowang Sep 14, 2017
4705a37
Packages needed by Ubuntu 16.04 also
williford Sep 15, 2017
effcdb0
Merge pull request #5904 from longjon/gpu-ptr
shelhamer Sep 19, 2017
888597e
Fixed bilinear filler, added tests
Noiredd Oct 2, 2017
ef2eb4b
Merge pull request #5713 from Noiredd/filler
shelhamer Oct 3, 2017
fac7434
[docs] fix link to `AbsVal` layer
shelhamer Oct 3, 2017
e0feb7d
Fix default mode warning in io.resize_image
developius Oct 10, 2017
62e0c85
upgrading Accuracy layer: (1) efficient CPU implementation O(L) for t…
Aug 10, 2017
cd2a014
add supports for cuDNN v7
icyblade Oct 11, 2017
243cd89
Add absolute tolerance to test_net.py to prevent random Travis fails
Noiredd Oct 11, 2017
691febc
Merge pull request #5925 from BVLC/williford-install-ubuntu-16.04-pat…
shelhamer Oct 11, 2017
79ddda7
infogain loss: fix bottom blobs description
anmikh Oct 17, 2017
b4ffad8
Merge pull request #5973 from Noiredd/pytest
Noiredd Oct 19, 2017
3a0afbf
Merge pull request #5866 from cijianzy/update_link_to_google_style_guide
Noiredd Nov 2, 2017
d8b4283
Merge pull request #5969 from developius/fix-default-mode-warning
Noiredd Nov 2, 2017
e5b3fbe
Merge pull request #5704 from ArneSuppe/dupDistDirFix
Noiredd Nov 2, 2017
be6a5c4
Merge pull request #5813 from jqueguiner/patch-1
Noiredd Nov 2, 2017
bfc638d
Fix: mean shape in compatible with input shape
leemgs Jun 29, 2017
613e13b
Merge pull request #5719 from leemgs/upstream-issue5718
Noiredd Nov 6, 2017
c430690
Merge pull request #5972 from icyblade/icyblade-patch-1
Noiredd Nov 7, 2017
fbdc1e1
Fix Makefile parallel builds missing protobuf header
sclarkson Nov 12, 2017
95d0001
Makefile example comments for CUDA 9.0 compatibility
Noiredd Nov 28, 2017
e93b5e2
Merge pull request #6079 from Noiredd/cuda9-makefile
Noiredd Nov 28, 2017
3be5297
Added count==0 safeguard to CPU accuracy calculation
Noiredd Nov 29, 2017
9946622
Merge pull request #6084 from Noiredd/accuracy-count-fix
Noiredd Nov 29, 2017
c23b356
Add check values of gamma and stepsize to avoid unexplained core dump
YaYaB Dec 12, 2017
c98de53
Cuda.cmake: Fix a typo in a comment
xerus Dec 20, 2017
e963ef4
Merge pull request #6121 from xerus/typo
Noiredd Jan 3, 2018
7e97067
Merge pull request #6048 from sclarkson/master
Noiredd Jan 10, 2018
7d2ecf9
Simplify pip invocation.
toby5box Jan 15, 2018
ecdc289
docs: switch to official AWS AMI
shelhamer Jan 28, 2018
bb4ffa4
Merge pull request #6201 from shelhamer/official-aws-ami
shelhamer Jan 28, 2018
7c573ca
Merge pull request #5924 from bowang/cudnn_deconv
shelhamer Jan 29, 2018
25c217c
clear scratch use of loss bottom diffs
Jan 18, 2018
12a7038
clear scratch use of accuracy bottom diff
shelhamer Jan 29, 2018
4116590
explain use of scratch diffs in comments
shelhamer Jan 29, 2018
08a95a4
Merge pull request #6202 from shelhamer/fix-scratch-bottom-diff
shelhamer Jan 29, 2018
d1208db
Merge pull request #5865 from cheshirekow/fix/caffe_rpath
Noiredd Jan 31, 2018
88c9618
corrected description of set_transpose in io.py
Noiredd Feb 1, 2018
d2627e9
Merge pull request #5545 from brunobowden/shape_mismatch_checks
Noiredd Feb 2, 2018
0050c20
Update Classifier and Detector to avoid deprecation warning
mzsanford Feb 2, 2018
cc521a0
Merge pull request #6210 from mzsanford/classfier_deprecation_warning
Noiredd Feb 3, 2018
87e1512
Merge pull request #5598 from ZoroDerVonCodier/patch-1
Noiredd Feb 6, 2018
0582f84
Fix incorrect namespace for pycaffe submodule caffe_pb2 generated by …
uhfband Feb 8, 2018
c326294
Weight parameter in solver is used in caffe.exe
IlyaOvodov Dec 18, 2017
6fa4c62
Automatic replacement of snapshot_prefix parameter if it is empty or …
IlyaOvodov Jan 13, 2018
a44c444
Merge pull request #6123 from IlyaOvodov/master
Noiredd Feb 12, 2018
37e4289
fix cuda 9.1 compilation
jasjuang Feb 14, 2018
b3deb95
bug fix: ext should not include the '.'
yanchen036 Jan 2, 2017
ced55b0
Fix compatibility for ND convolution
knsong Feb 17, 2018
76f48fe
Merge pull request #6240 from knsong/master
Noiredd Feb 20, 2018
2571808
Merge pull request #6176 from qu1j0t3/simplify-pip-cmd
Noiredd Feb 20, 2018
f7135ed
Merge pull request #5149 from yanchen036/master
Noiredd Feb 20, 2018
5c6a290
Merge pull request #6104 from YaYaB/master_bvlc
Noiredd Feb 21, 2018
8e09610
Remove legacy tools
Noiredd Feb 23, 2018
379a3ba
Merge pull request #6249 from Noiredd/legacy-tools
Noiredd Feb 26, 2018
412f18d
1D blob handling in MSRA/Xavier fillers
Noiredd Mar 6, 2018
7b3ac40
Add lr_mult label to the network graph in draw_net.py (#6273)
nic25 Mar 7, 2018
d7da092
PoolingLayer customizable output shape rounding mode
Noiredd Mar 7, 2018
527a1c1
Filler testing overhaul
Noiredd Mar 8, 2018
69da2cf
Merge pull request #6278 from Noiredd/filler-fix
Noiredd Mar 9, 2018
eb62919
bilinear filter test refactor
Noiredd Mar 9, 2018
f049522
Merge pull request #6286 from Noiredd/bilinear-filler-fix
Noiredd Mar 12, 2018
dabbc91
Added Swish layer (#6002)
anmikh Mar 17, 2018
d09f157
check embed index in debug mode
twmht Mar 23, 2018
18b09e8
Merge pull request #6277 from twmht/dev_issue_6268
Noiredd Mar 27, 2018
cb150ec
Merge pull request #6237 from jasjuang/master
Noiredd Apr 6, 2018
08b3308
Minor correction concerning compilation compatibility with CUDA 9.0
Coderx7 Apr 9, 2018
723e552
Merge pull request #6336 from Coderx7/master
Noiredd Apr 9, 2018
c46fc00
Fix cmake < v3.7 compatibility in Cuda.cmake (#6338)
vrichter Apr 9, 2018
106bfcf
Revised guidelines for GitHub issues (#6327)
Noiredd Apr 10, 2018
356a6cc
tweaked Gaussian filler tests for less false fails
Noiredd Apr 11, 2018
3066720
Merge pull request #6342 from Noiredd/gauss-fill-test-fix
Noiredd Apr 12, 2018
3318a46
Cherry-picked USE_HDF5 from Android branch
jerryz123 Apr 16, 2018
8645207
Merge pull request #6219 from uhfband/fix-caffe_pb2-module
Noiredd Apr 17, 2018
0536720
fix issue #6387.
csukuangfj May 8, 2018
6d912a3
fix issue #6389
csukuangfj May 8, 2018
05a1436
Merge pull request #6388 from open-cv/fix-6387
shelhamer Jun 6, 2018
a357693
Merge pull request #6390 from open-cv/fix-6389
shelhamer Jun 6, 2018
cc1c8fb
[pycaffe] expose solver update to do manual solving
mitar Oct 28, 2017
c74913d
increment iteration during update, not step
mitar Oct 28, 2017
cfcf74f
[pycaffe] expose mutable solver parameter, base lr, and effective lr
mitar Dec 10, 2017
1bdcb74
[pycaffe] test solver update
nitnelave Jun 22, 2016
2a1c552
Merge pull request #6238 from mitar/manual-sgd
shelhamer Jun 8, 2018
72e953b
Update inner_product_layer.cpp
lengly Jul 8, 2018
f019d0d
fix typos and some minor fixes.
csukuangfj Jul 12, 2018
4353628
python: Set gpu device id before setting gpu mode
xerus Aug 14, 2018
24b0905
Merge pull request #6282 from Noiredd/pooling-mode
Noiredd Aug 17, 2018
7f4f5d2
Add clip layer
harm-nedap Jan 18, 2016
b56db67
test case fix for Clip layer gradient
Noiredd Mar 30, 2018
4ac6443
Clip layer documentation
Noiredd Aug 17, 2018
dc6d330
Merge pull request #6320 from Noiredd/clip
Noiredd Aug 20, 2018
e15898a
Merge pull request #6346 from jerryz123/HDF5_config
Noiredd Aug 21, 2018
8e97b8a
Merge pull request #6455 from lengly/patch-1
Noiredd Aug 21, 2018
828dd10
Merge branch 'master' into patch_1
Noiredd Aug 21, 2018
128797e
Merge pull request #6461 from open-cv/patch_1
Noiredd Aug 21, 2018
99bd997
Merge pull request #6499 from xerus/python_gpu
Noiredd Aug 21, 2018
d6d179a
Updated Intel's branch description
cypof Mar 2, 2019
04ab089
Updated Intel's branch description
cypof Mar 2, 2019
388bf12
Fix simple typo: overrided -> overridden
timgates42 Dec 12, 2019
9b89154
Merge pull request #6878 from timgates42/bugfix/typo_overridden
Noiredd Feb 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,335 changes: 2,335 additions & 0 deletions .Doxyfile

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Important - read before submitting

*Please read the [guidelines for contributing](https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md) before submitting this issue!*

*Please do not post installation, build, usage, or modeling questions, or other requests for help to Issues.*
Use the [caffe-users list](https://groups.google.com/forum/#!forum/caffe-users) instead.
This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.

### Issue summary


### Steps to reproduce


### Tried solutions


### System configuration

* Operating system:
* Compiler:
* CUDA version (if applicable):
* CUDNN version (if applicable):
* BLAS:
* Python version (if using pycaffe):
* MATLAB version (if using matcaffe):

### Issue checklist

- [ ] read the guidelines and removed the first paragraph
- [ ] written a short summary and detailed steps to reproduce
- [ ] explained how solutions to related problems failed (tick if found none)
- [ ] filled system configuration
- [ ] attached relevant logs/config files (tick if not applicable)
65 changes: 51 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,74 @@
# Compiled MATLAB
*.mex*

# build, distribute, and bins
build/*
distribute/*
*.testbin
*.bin
python/caffe/proto/
# IPython notebook checkpoints
.ipynb_checkpoints

# Editor temporaries
*.swp
*~

# IPython notebook checkpoints
.ipynb_checkpoints
# Sublime Text settings
*.sublime-workspace
*.sublime-project

# Eclipse Project settings
*.*project
.settings

# QtCreator files
*.user

# PyCharm files
.idea

# Visual Studio Code files
.vscode

# OSX dir files
.DS_Store

## Caffe

# User's build configuration
Makefile.config

# Data and examples are either
# Data and models are either
# 1. reference, and not casually committed
# 2. custom, and live on their own unless they're deliberated contributed
data/*
examples/*
models/*
*.caffemodel
*.caffemodel.h5
*.solverstate
*.solverstate.h5
*.binaryproto
*leveldb
*lmdb

# build, distribute, and bins (+ python proto bindings)
build
.build_debug/*
.build_release/*
distribute/*
*.testbin
*.bin
python/caffe/proto/
cmake_build
.cmake_build

# Generated documentation
docs/_site
docs/_includes
docs/gathered
_site
doxygen
docs/dev

# Sublime Text settings
*.sublime-workspace
*.sublime-project

# LevelDB files
*.sst
*.ldb
LOCK
LOG*
CURRENT
MANIFEST-*
63 changes: 38 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,52 @@
dist: trusty
sudo: required

language: cpp
compiler: gcc

env:
global:
- NUM_THREADS=4
matrix:
# Use a build matrix to test many builds in parallel
# envvar defaults:
# WITH_CMAKE: false
# WITH_PYTHON3: false
# WITH_IO: true
# WITH_CUDA: false
# WITH_CUDNN: false
- BUILD_NAME="default-make"
# - BUILD_NAME="python3-make" WITH_PYTHON3=true
- BUILD_NAME="no-io-make" WITH_IO=false
- BUILD_NAME="cuda-make" WITH_CUDA=true
- BUILD_NAME="cudnn-make" WITH_CUDA=true WITH_CUDNN=true

# Cache Ubuntu apt packages.
cache: apt
- BUILD_NAME="default-cmake" WITH_CMAKE=true
- BUILD_NAME="python3-cmake" WITH_CMAKE=true WITH_PYTHON3=true
- BUILD_NAME="no-io-cmake" WITH_CMAKE=true WITH_IO=false
- BUILD_NAME="cuda-cmake" WITH_CMAKE=true WITH_CUDA=true
- BUILD_NAME="cudnn-cmake" WITH_CMAKE=true WITH_CUDA=true WITH_CUDNN=true

compiler:
- gcc
# Disable clang build: doesn't seem to work on Linux.
# (@jeffdonahue: Travis buildbot's failure behavior is similar to what I see
# building on Linux.)
# - clang
cache:
apt: true
directories:
- ~/protobuf3

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
- source ./scripts/travis/defaults.sh

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 -
- 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
- 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 -
- sudo -E ./scripts/travis/install-deps.sh
- ./scripts/travis/setup-venv.sh ~/venv
- source ~/venv/bin/activate
- ./scripts/travis/install-python-deps.sh

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

script:
- make --keep-going --jobs=$NUM_THREADS all test lint
- make --jobs=$NUM_THREADS all
- make --jobs=$NUM_THREADS test
- make --jobs=$NUM_THREADS lint
- ./scripts/travis/build.sh
- ./scripts/travis/test.sh

notifications:
# Emails are sent to the committer's git-configured email address by default,
Expand Down
125 changes: 125 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
cmake_minimum_required(VERSION 2.8.7)
if(POLICY CMP0046)
cmake_policy(SET CMP0046 NEW)
endif()
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()

# ---[ Caffe project
project(Caffe C CXX)

# ---[ Caffe version
set(CAFFE_TARGET_VERSION "1.0.0" CACHE STRING "Caffe logical version")
set(CAFFE_TARGET_SOVERSION "1.0.0" CACHE STRING "Caffe soname version")
add_definitions(-DCAFFE_VERSION=${CAFFE_TARGET_VERSION})

# ---[ Using cmake scripts and modules
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)

include(ExternalProject)
include(GNUInstallDirs)

include(cmake/Utils.cmake)
include(cmake/Targets.cmake)
include(cmake/Misc.cmake)
include(cmake/Summary.cmake)
include(cmake/ConfigGen.cmake)

# ---[ Options
caffe_option(CPU_ONLY "Build Caffe without CUDA support" OFF) # TODO: rename to USE_CUDA
caffe_option(USE_CUDNN "Build Caffe with cuDNN library support" ON IF NOT CPU_ONLY)
caffe_option(USE_NCCL "Build Caffe with NCCL library support" OFF)
caffe_option(BUILD_SHARED_LIBS "Build shared libraries" ON)
caffe_option(BUILD_python "Build Python wrapper" ON)
set(python_version "2" CACHE STRING "Specify which Python version to use")
caffe_option(BUILD_matlab "Build Matlab wrapper" OFF IF UNIX OR APPLE)
caffe_option(BUILD_docs "Build documentation" ON IF UNIX OR APPLE)
caffe_option(BUILD_python_layer "Build the Caffe Python layer" ON)
caffe_option(USE_OPENCV "Build with OpenCV support" ON)
caffe_option(USE_LEVELDB "Build with levelDB" ON)
caffe_option(USE_LMDB "Build with lmdb" ON)
caffe_option(ALLOW_LMDB_NOLOCK "Allow MDB_NOLOCK when reading LMDB files (only if necessary)" OFF)
caffe_option(USE_OPENMP "Link with OpenMP (when your BLAS wants OpenMP and you get linker errors)" OFF)

# This code is taken from https://github.com/sh1r0/caffe-android-lib
caffe_option(USE_HDF5 "Build with hdf5" ON)

# ---[ Dependencies
include(cmake/Dependencies.cmake)

# ---[ Flags
if(UNIX OR APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall")
endif()

caffe_set_caffe_link()

if(USE_libstdcpp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
message("-- Warning: forcing libstdc++ (controlled by USE_libstdcpp option in cmake)")
endif()

# ---[ Warnings
caffe_warnings_disable(CMAKE_CXX_FLAGS -Wno-sign-compare -Wno-uninitialized)

# ---[ Config generation
configure_file(cmake/Templates/caffe_config.h.in "${PROJECT_BINARY_DIR}/caffe_config.h")

# ---[ Includes
set(Caffe_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)
set(Caffe_SRC_DIR ${PROJECT_SOURCE_DIR}/src)
include_directories(${PROJECT_BINARY_DIR})

# ---[ Includes & defines for CUDA

# cuda_compile() does not have per-call dependencies or include pathes
# (cuda_compile() has per-call flags, but we set them here too for clarity)
#
# list(REMOVE_ITEM ...) invocations remove PRIVATE and PUBLIC keywords from collected definitions and include pathes
if(HAVE_CUDA)
# pass include pathes to cuda_include_directories()
set(Caffe_ALL_INCLUDE_DIRS ${Caffe_INCLUDE_DIRS})
list(REMOVE_ITEM Caffe_ALL_INCLUDE_DIRS PRIVATE PUBLIC)
cuda_include_directories(${Caffe_INCLUDE_DIR} ${Caffe_SRC_DIR} ${Caffe_ALL_INCLUDE_DIRS})

# add definitions to nvcc flags directly
set(Caffe_ALL_DEFINITIONS ${Caffe_DEFINITIONS})
list(REMOVE_ITEM Caffe_ALL_DEFINITIONS PRIVATE PUBLIC)
list(APPEND CUDA_NVCC_FLAGS ${Caffe_ALL_DEFINITIONS})
endif()

# ---[ Subdirectories
add_subdirectory(src/gtest)
add_subdirectory(src/caffe)
add_subdirectory(tools)
add_subdirectory(examples)
add_subdirectory(python)
add_subdirectory(matlab)
add_subdirectory(docs)

# ---[ Linter target
add_custom_target(lint COMMAND ${CMAKE_COMMAND} -P ${PROJECT_SOURCE_DIR}/cmake/lint.cmake)

# ---[ pytest target
if(BUILD_python)
add_custom_target(pytest COMMAND python${python_version} -m unittest discover -s caffe/test WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/python )
add_dependencies(pytest pycaffe)
endif()

# ---[ uninstall target
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/cmake/Uninstall.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/cmake/Uninstall.cmake
IMMEDIATE @ONLY)

add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P
${CMAKE_CURRENT_BINARY_DIR}/cmake/Uninstall.cmake)

# ---[ Configuration summary
caffe_print_configuration_summary()

# ---[ Export configs generation
caffe_generate_export_configs()

Loading