-serial-dev Protobuf-compiler$ sudo apt-get install--no-install-recommends Libboost-all-dev$ sudo apt-get install Libopenblas-dev liblapack-dev Libatlas-base-dev$ sudo apt-get install Libgflags-dev libgoogle-glog-dev Liblmdb-devJiayanqing The Great God also said, we must see clearly!The following begins to configure Caffe and starts compiling. sudo cp Makefile.config.example Makefile.config# Adjust Makefile.config (for example, if using Anaconda Pytho
Recently for various reasons, loaded many times caffe, installation process a lot of pits, in order to save the time of novice, hereby summarizes the entire installation process.About the Ubuntu version of the choice, it is recommended to use 14.04 this relatively stable version, but do not use Kylin version!!! A lot worse than the original experience!!!Caffe installation process, the basic adoption of this article and then slightly changed, skip the Tai hang.Caffe + Ubuntu 14.04 64bit + CUDA 6.
install manually, someone on GitHub has already written the complete installation script: Https://github.com/jayrambhia/Install-OpenCV Download the script, Enter the ubuntu/2.4 directory to add executable permissions to all shell scripts.1) $ chmod +x *.sh, $ sudo./opencv2_4_9.sh. Next, wait for the automatic installation.My personal Humanities installation OpenCV the best way is to enter OPENCV in Ubuntu Software Center and then put all the displayed items on the installation.3. Install additi
:
Xcode or command-line prompt error is: third-party/glog-0.3.4/src/base/mutex.h:105:10:fatal error: ' config.h ' file not found, search the solution:
Delete the Ios/build path, and then React-native Run-ios
No use, then the second option:
Delete the Node_modules/third-party and then react-native Run-ios again
But my node_modules didn't have this plugin at all, so I used the easiest way to do it: Delete the entire node_modules directory and then reus
)Put in the makefile file:Lib:lapacklib Tmglib#lib: Blaslib variants Lapacklib TmglibTo#lib: Lapacklib tmglibLib:blaslib variants LapacklibtmglibThen open the terminal, switch to the current directory (tip: You can drag the folder directly to the terminal will automatically fill in the file path), input: Sudomake can be.There is no error in this operation.Then copy the LIBLAPACK.A,LIBREFBLAS.A,LIBTMGLIB.A three libraries below the folder to/usr/lib
3. Installation of other dependencies
[HTML] v
CentOS7 Installation Caffe
Install Dependency Pack
sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel
sudo yum install Gflag S-devel glog-devel lmdb-devel
sudo yum install Openblas-devel
Install Caffe
Wget-c https://github.com/BVLC/caffe/archive/1.0.tar.gz
tar zxvf 1.0.tar.gz
CD caffe-1.0
CP Makefile.config.example Makefile.config
Since I'm just testing that the machine does not have a GPU, you need to
problem ^_^ 2. About the system
This description is about the Linux system, preferably CentOS more than 7.0, or Ubuntu 14.04 or moreBecause the lower version of the installation is not compatible with the appropriate BOOST,OPENCV and other libraries 3. Install dependent libraries
To be sure, all of the libraries are loaded, or they may not be available for compilation.Where protobuf is used to define layers, LEVELDB is the database to store picture data during training, OPENCV is the image proc
Installation process installation Ubuntu14.04 (trusty), will install the image file to make a U disk image, enter the BIOS or WIN10 under the set-> Update and Security-> restore-> advanced boot, use U disk to start, Complete the installation of Ubuntu14.04 (trusty). Installation of Ros (Indigo), reference documents Http://wiki.ros.org/indigo/Installation/Ubuntu (original English), http://wiki.ros.org/cn/indigo/ Installation/ubuntu (Chinese translation), there are also bloggers to write their own
People say that getting into a new company is always the quickest way to learn something, and the important thing to learn is to be proficient with tools and summarize the most recently used tools:
1, Google Protobuf
Very easy to use the structured data transmission way, already has the article to clarify the usage method;
2, Gtest
Google unit testing methods, temporarily still feel a strong place, mainly the use of the scene is relatively simple;
3, QT
QT also is a big head, l
The network of the great God configuration is very cumbersome in fact, the official website
http://caffe.berkeleyvision.org/installation.html configuration and installation procedures are simple and for different environments so I suggest you do not follow the XX blog, do a reference can (including my). When you encounter an error, Google, avoid detours.
First update the Yum source
cd/etc/yum.repos.d/
mv Centos-base.repo centos-base.repo_bak
wget http://mirrors.163.com/.help/ Centos7-base-16
then set the path to the caffe_root\examples\imagenet.The thought used here is the same as in the previous OpenCV play (a) batch resize all images in a folder, are string concatenation. Where data and tools are path headers, the complete path is combined with the file names that follow. To put it bluntly, it is to fill in the training set and test set three absolute paths + a folder name to be generated under Glog, these three absolute paths are:(1)
To install cuda8.0 to Titan X in the previous way, there will be a circular login issue, so a different installation methodReference: https://www.jianshu.com/p/002ece426793,http://blog.csdn.net/jzrita/article/details/72887677Official Https://www.ubuntu.com/download Download the latest version, download it and use the soft disk to make the installation imageAfter installing the system, update the systemsudo apt-get updatesudo apt-get upgradeInstall dependent packagessudo apt-get install Libprotob
Because some work needs, so need to install Caffe, next, tell everyone about my installation process.First of all, install the necessary libraries, these are nothing, is the terminal to run the following command, of course, network.sudo apt-get install Libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf- Compilersudo apt-get install--no-install-recommends libboost-all-devsudo apt-get Install libatlas-base-devsudo apt-get install python-devsudo apt-get install L
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.