This is a guide on how to install Caffe for Ubuntu 16.04 and above, without GPU support (No CUDA required).
sudo apt-get install libopencv-dev python-opencv
using UnityEngine; | |
using System.Collections.Generic; | |
// Class that implements the deCasteljau algorithm for | |
// computing the value of a Bezier curve of arbitrary | |
// degree | |
public class BezierCurve | |
{ | |
// Calculate value of Bezier curve | |
public static Vector3 DeCasteljau(int degree, float u, List<Vector3> controlPoints) |
using UnityEngine; | |
using System.Collections; | |
public class SmartWall : MonoBehaviour { | |
private Vector3 agent; | |
private bool coroutineFlag = true, moveTargetFlag = true; | |
private Vector3 initialPosition, targetPosition; | |
// Use this for initialization | |
void Start () { |
#!/bin/bash | |
## This gist contains step by step instructions to install cuda v9.0 and cudnn 7.2 in ubuntu 18.04 | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### |
Ubuntu 15.10 have been released for a couple of days. It is a bleeding-edge system coming with Linux kernel 4.2 and GCC 5. However, compiling and running Caffe on this new system is no longer as smooth as on earlier versions. I have done some research related to this issue and finally find a way out. I summarize it here in this short tutorial and I hope more people and enjoy this new system without breaking their works.
The latest NVIDIA driver is officially included in Ubuntu 15.10 repositories. One can install it directly via apt-get
.
sudo apt-get install nvidia-352-updates nvidia-modprobe
The nvidia-modprobe
utility is used to load NVIDIA kernel modules and create NVIDIA character device files automatically everytime your machine boots up.
Reboot your machine and verify everything works by issuing nvidia-smi
or running deviceQuery
in CUDA samples.
Ubuntu 15.10 have been released for a couple of days. It is a bleeding-edge system coming with Linux kernel 4.2 and GCC 5. However, compiling and running Caffe on this new system is no longer as smooth as on earlier versions. I have done some research related to this issue and finally find a way out. I summarize it here in this short tutorial and I hope more people and enjoy this new system without breaking their works.
The latest NVIDIA driver is officially included in Ubuntu 15.10 repositories. One can install it directly via apt-get
.
sudo apt-get install nvidia-352-updates nvidia-modprobe
The nvidia-modprobe
utility is used to load NVIDIA kernel modules and create NVIDIA character device files automatically everytime your machine boots up.
Reboot your machine and verify everything works by issuing nvidia-smi
or running deviceQuery
in CUDA samples.