Some Notes

本文档详细介绍了在Ubuntu系统上为Caffe配置环境的具体步骤,包括设置链接目录、安装NVIDIA GPU驱动及解决Caffe编译过程中遇到的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Previously I have written some notes of how to set up environment for Caffe on Ubuntu 14.04. My strategy is DIY. Though the methods mentioned in those notes worked well at that time, they may be out of date now. Since I am quite a rookie in Linux OS, I need this additional note to bypass the problems I met recently.

Concerning setting link directories

New a configuration file in the directory of /etc/ld.so.conf.d/ and the file name must be end up with .conf. In the file is the directories that need to be added to the link path. Finally use command sudo ldconfig to make it effective. Here is an example to add link path of OpenBLAS to the environment. A new file named as openblas.conf is created and saved in /etc/ld.so.conf.d/. In the file a path is written /home/joshua/LIBS/openblas/lib. Then type sudo ldconfig in a terminal window.

Concerning installing NVIDIA GPU drivers

A very easy way to install NVIDIA GPU drivers is using the tools called “Software&Updates” in “System Settings” of Ubuntu. In “Software&Updates” there is a tag “Additional Drivers”, which can be used to select possible GPU drivers. After reboot the new settings can take effect.

Concerning making Caffe

After sudo apt-get update and sudo apt-get upgrade, I found that Caffe can not make. The error came from TIFF. I solved the problem by conda remove libtiff.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值