Skip to content

Installation Script

Iacopo Masi edited this page Jun 9, 2018 · 3 revisions

This is the installation script for all dependencies of this repository for a convenientinstallation on a clean Ubuntu 16.04, Cuda 9.2 with Conda.

Credit goes to seva100. Many thanks!

Installation instructions:

  1. Download the repository and recreate additional files, as described on the repository home page
  2. Download and install CUDA for Ubuntu 16.04 (9.2 is the current latest version):
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda
  1. Download latest Anaconda or Miniconda
  2. Do
conda create -n=3dmm_cnn python=2.7.*
source activate 3dmm_cnn
  1. Download install.sh to the project folder, where all the files from repository are contained.
  2. Then bash install.sh

The script installs everything in a conda virtual environment 3dmm_cnn.

Clone this wiki locally