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 — GitHub - AINoobs/Caffe-Conv3D-bak

BranchesTags
Open more actions menu

Latest commit

 

History

136 Commits
136 Commits

Folders and files

NameName
Last commit message
Last commit date
cmake
cmake
 
 
data
data
 
 
docker
docker
 
 
docs
docs
 
 
examples
examples
 
 
external/mkl
external/mkl
 
 
include
include
 
 
matlab
matlab
 
 
models
models
 
 
python
python
 
 
scripts
scripts
 
 
smoke_test
smoke_test
 
 
src
src
 
 
tools
tools
 
 
xbyak
xbyak
 
 
.Doxyfile
.Doxyfile
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
INSTALL.md
INSTALL.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
Makefile.config
Makefile.config
 
 
Makefile.config.example
Makefile.config.example
 
 
Makefile.knl.icc
Makefile.knl.icc
 
 
Makefile.mkldnn
Makefile.mkldnn
 
 
README.md
README.md
 
 
caffe.cloc
caffe.cloc
 
 

Repository files navigation

Add-on Notes

How to build

 1. fill your project path to BLAS_INCLUDE, BLAS_LIB in Makefile.config to best leverage MKL
 2. $ make clean
 3. $ unset MKLROOT
 4. $ make -j `nproc`
 5. $ make pycaffe
 6. $ export LD_LIBRARY_PATH=<caffe_path>/external/mkldnn/install/lib/:$LD_LIBRARY_PATH

Verified Environment

  1. Ubuntu 16.04
  2. CentOS 7.2/7.3
  3. GCC: 4.8.5

How to run w/ best performance

Options 1

  1. turn off hyper threading in your machine
  2. set environment variable to enable core affinity using:
      $ export KMP_AFFINITY=compact,1,0,granularity=fine
  3. set OMP and MKL thread using number:
      $ export OMP_NUM_THREADS=`nproc`
      $ export MKL_NUM_THREADS=`nproc`
  4. launch caffe train task

Option 2

You can also run below command directly.

 $ taskset -c 0-<core_number> numactl -l <command_you_want_to_run>

Add-on Feature List (2D layout: (N, C, H, W); 3D layout: (N, C, D, H, W))

  • 2D ROI Pooling Layer (OpenMP optimized, for fast r-cnn/faster r-cnn)
  • 2D PS-ROI Pooling Layer (OpenMP optimized, for r-fcn)
  • 2D Spatial Dropout Layer (OpenMP optimized, for unet)
  • 2D ROI Align (for mask r-cnn)
  • 3D Convolution (in Convolution layer, MKL-DNN primitives and openMP optimized)
  • 3D Pooling (in Pooling layer, openMP optimized)
  • 3D Batch Normalization (in BatchNorm layer, MKL2017 and openMP optimzied)
  • 3D ReLU
  • 3D Permute (in Permute layer, for SSD)
  • 3D ROI Pooling
  • 3D Smooth-L1 loss
  • 3D Smooth-L1 OHEM
  • 3D sigmoid cross entropy loss

Call For Contributions

  • Anything helps this repo, including discussion, testing, promotion and of course your awesome code.

Caffe

Build Status License

Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by Berkeley AI Research (BAIR)/The Berkeley Vision and Learning Center (BVLC) and community contributors.

Check out the project site for all the details like

  • DIY Deep Learning for Vision with Caffe
  • Tutorial Documentation
  • BAIR reference models and the community model zoo
  • Installation instructions

and step-by-step examples.

Custom distributions

  • Intel Caffe (Optimized for CPU and support for multi-node), in particular Xeon processors (HSW, BDW, SKX, Xeon Phi).
  • OpenCL Caffe e.g. for AMD or Intel devices.
  • Windows Caffe

Community

Join the chat at https://gitter.im/BVLC/caffe

Please join the caffe-users group or gitter chat to ask questions and talk about methods and models. Framework development discussions and thorough bug reports are collected on Issues.

Happy brewing!

SSD: Single Shot MultiBox Detector

This repository contains merged code issued as pull request to BVLC caffe written by: Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg.

Original branch can be found at https://github.com/weiliu89/caffe/tree/ssd.

Read our wiki page for more details.

Intel® Distribution of Caffe*

This fork is dedicated to improving Caffe performance when running on CPU, in particular Intel® Xeon processors (HSW, BDW, Xeon Phi)

Building

Build procedure is the same as on bvlc-caffe-master branch. Both Make and CMake can be used. When OpenMP is available will be used automatically.

Running

Run procedure is the same as on bvlc-caffe-master branch.

Current implementation uses OpenMP threads. By default the number of OpenMP threads is set to the number of CPU cores. Each one thread is bound to a single core to achieve best performance results. It is however possible to use own configuration by providing right one through OpenMP environmental variables like OMP_NUM_THREADS or GOMP_CPU_AFFINITY.

If some system tool like numactl is used to control CPU affinity, by default caffe will prevent to use more than one thread per core. When less than required cores are specified, caffe will limit execution of OpenMP threads to specified cores only.

Best performance solution

Please read our Wiki for our recommendations and configuration to achieve best performance on Intel CPUs.

Multinode Training

Intel® Distribution of Caffe* multi-node allows you to execute deep neural network training on multiple machines.

To understand how it works and read some tutorials, go to our Wiki. Start from Multinode guide.

License and Citation

Caffe is released under the BSD 2-Clause license. The BAIR/BVLC reference models are released for unrestricted use.

Please cite Caffe in your publications if it helps your research:

@article{jia2014caffe,
  Author = {Jia, Yangqing and Shelhamer, Evan and Donahue, Jeff and Karayev, Sergey and Long, Jonathan and Girshick, Ross and Guadarrama, Sergio and Darrell, Trevor},
  Journal = {arXiv preprint arXiv:1408.5093},
  Title = {Caffe: Convolutional Architecture for Fast Feature Embedding},
  Year = {2014}
}

*Other names and brands may be claimed as the property of others

About

No description, website, or topics provided.

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

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.