Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nagadomi committed Nov 18, 2018
1 parent 77b8614 commit 4ad71ab
Showing 1 changed file with 11 additions and 30 deletions.
41 changes: 11 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,8 @@ waifu2x is inspired by SRCNN [1]. 2D character picture (HatsuneMiku) is licensed
- [2] "For Creators", http://piapro.net/en_for_creators.html

## Public AMI
```
Region: us-east-1 (N.Virginia)
AMI ID: ami-b9be23ae
AMI NAME: waifu2x-server 20160807
Instance Type: g2.2xlarge
OS: Ubuntu 14.04
User: ubuntu
Created at: 2016-08-07
```
See ~/README.md

Please update the git repo first.
```
git pull
```
TODO

## Third Party Software

Expand Down Expand Up @@ -63,14 +50,16 @@ If you are a windows user, I recommend you to use [waifu2x-caffe](https://github
## Installation

### Setting Up the Command Line Tool Environment
(on Ubuntu 14.04)
(on Ubuntu 16.04)

#### Install CUDA

See: [NVIDIA CUDA Getting Started Guide for Linux](http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#ubuntu-installation)

Download [CUDA](http://developer.nvidia.com/cuda-downloads)

Note: Torch does not supported CUDA10. CUDA9.2 is recommended.

```
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update
Expand All @@ -82,6 +71,7 @@ sudo apt-get install cuda
```
sudo apt-get install libsnappy-dev
sudo apt-get install libgraphicsmagick1-dev
sudo apt-get install libssl1.0-dev # for web server
```

Note: waifu2x requires little-cms2 linked graphicsmagick. if you use macOS/homebrew, See [#174](https://github.com/nagadomi/waifu2x/issues/174#issuecomment-384466451).
Expand All @@ -90,26 +80,17 @@ Note: waifu2x requires little-cms2 linked graphicsmagick. if you use macOS/homeb

See: [Getting started with Torch](http://torch.ch/docs/getting-started.html), and [#222](https://github.com/nagadomi/waifu2x/issues/222)

And install luarocks packages.
```
luarocks install graphicsmagick # upgrade
luarocks install threads # upgrade
luarocks install lua-csnappy
luarocks install md5
luarocks install uuid
luarocks install csvigo
# if you need to use web application
PREFIX=$HOME/torch/install luarocks install turbo
#### Getting waifu2x

# if you need to use cuDNN library. cuDNN is required.
luarocks install cudnn
```
git clone --depth 1 https://github.com/nagadomi/waifu2x.git
```

#### Getting waifu2x
and install lua modules.

```
git clone --depth 1 https://github.com/nagadomi/waifu2x.git
cd waifu2x
./install_lua_modules.sh
```

#### Validation
Expand Down

0 comments on commit 4ad71ab

Please sign in to comment.