Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkangyang committed May 6, 2021
1 parent 44d15b2 commit c8bfdba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Please cite Caffe in your publications if it helps your research:
---
# 快速安装指南
系统 Centos7
[踩坑记录](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/%E8%B8%A9%E5%9D%91.md)
[踩坑记录](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/%E8%B8%A9%E5%9D%91.md)
基于源码master`9b89154`的改动:
1. 支持`opencv-4.3`, [安装脚本](https://github.com/chenkangyang/setup/blob/181/zzopencv.sh); [.zshrc](https://github.com/chenkangyang/setup/blob/181/.zshrc)
2. 支持`cuda-11.1`, `cudnn-8`
Expand Down Expand Up @@ -113,7 +113,7 @@ cmake ..
cd build
ccmake ..
```
[完整参考](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/ccmake-5-6.log)
[完整参考](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/ccmake-5-6.log)

这一步自动生成 `build/Makefile`

Expand All @@ -122,30 +122,30 @@ ccmake ..
cd build
make -j"$(nproc)" 1> make-5-6.log 2> make-5-6.error
```
[日志](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/make-5-6.log)
[日志](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/make-5-6.log)

## 安装测试
```shell
cd build
make install 1> install-5-6.log 2> install-5-6.error
```
[安装日志](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/install-5-6.log)
[安装日志](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/install-5-6.log)

---

```shell
cd build
make runtest 1> runtest-5-6.log 2> runtest-5-6.error
```
[测试日志](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/runtest-5-6.log)
[测试日志](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/runtest-5-6.log)

## 编译安装python接口
- 编译
```shell
cd build
make pycaffe 1> pycaffe-5-6.log 2> pycaffe-5-6.error
```
[编译日志](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/pycaffe-5-6.log)
[编译日志](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/pycaffe-5-6.log)

---

Expand All @@ -160,7 +160,7 @@ make pycaffe install
```shell
ldd $HOME/software/caffe/build/install/python/caffe/_caffe.so > ldd_caffe.so.log
```
[依赖路径](https://github.com/chenkangyang/caffe/blob/opencv4/build_logs/ldd_caffe.so-5-6.log)
[依赖路径](https://github.com/chenkangyang/caffe/blob/cuda11/build_logs/ldd_caffe.so-5-6.log)

---
- 版本发布
Expand Down

0 comments on commit c8bfdba

Please sign in to comment.