1
0
Fork 0
mirror of synced 2024-05-20 04:42:19 +12:00

Added descriptions on how to install cud

This commit is contained in:
Kevin Frans 2015-08-25 20:27:55 -07:00
parent 8c7bda11fb
commit ef9e1c42ce

View file

@ -52,18 +52,24 @@ Created at: 2015-08-12
### Setting Up the Command Line Tool Environment
(on Ubuntu 14.04)
#### Install Torch7
```
sudo apt-get install curl
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | sudo bash
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-all | sudo bash
```
see [Torch (easy) install](https://github.com/torch/ezinstall)
#### Install CUDA
Google! Search keyword: "install cuda ubuntu"
Download [Cuda](http://developer.nvidia.com/cuda-downloads)
```
sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb
sudo apt-get update
sudo apt-get install cuda
```
#### Install packages
@ -74,7 +80,7 @@ sudo apt-get install graphicsmagick libgraphicsmagick-dev
sudo luarocks install graphicsmagick
```
Test the waifu2x command line tool.
Test the waifu2x command line tool.
```
th waifu2x.lua
```