Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kainoj/colnet
Browse files Browse the repository at this point in the history
  • Loading branch information
i282751 committed Jan 29, 2019
2 parents 3706f9d + 9e9c385 commit 48341ee
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Implementation of [_Let there be Color!_](http://iizuka.cs.tsukuba.ac.jp/projects/colorization/en/)
by Satoshi Iizuka, Edgar Simo-Serra and Hiroshi Ishikawa.

_Colorized 100 years old photo of Książ Castle:_

![Colorized Książ Castle, Poland](colorized/ksiaz-castle.png "Colorized Książ Castle, Poland")

_Other colorized images:_

![Colorized images](colorized/results.png "Sample of colorized images")

### First run
[Places365-Standard](http://places2.csail.mit.edu/download.html)
Expand All @@ -16,7 +23,10 @@ $ make split
```

### Requirements
Python (3.6.3), pytorch (0.4.1), torchvision (0.2.1), skimage (0.14.1), numpy (1.15.2), Jupyter Notebook(4.4.0)
Code is written in Python 3.6.3. [Here](requirements.txt) are all requirements, hit the following to install:
```bash
pip3 install -r requirements.txt
```


### Network training
Expand Down
1 change: 0 additions & 1 deletion colorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import torch
import torchvision.transforms

import matplotlib.pyplot as plt
import numpy as np

from skimage import io, color
Expand Down
Binary file added colorized/ksiaz-castle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added colorized/results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
scikit_image==0.14.1
torch==0.4.1
numpy==1.15.2
torchvision==0.2.1
skimage==0.0
PyYAML==4.2b1
jupyter==1.0.0

0 comments on commit 48341ee

Please sign in to comment.