Skip to content

Commit

Permalink
More colorized images
Browse files Browse the repository at this point in the history
  • Loading branch information
kainoj committed Jan 29, 2019
1 parent 48341ee commit 525d81b
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ _Colorized 100 years old photo of Książ Castle:_

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

[More images](colorized/colorized.md)

_Other colorized images:_

![Colorized images](colorized/results.png "Sample of colorized images")
Expand Down
21 changes: 21 additions & 0 deletions colorized/colorized.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Colorized 100 years old photo of Książ Castle:

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

Source: _Louis Hardouin, Książ Castle archive_


## Wrocław (Breslau) 18/19th century

![Wrocław](wroclaw.png "Historic images of Wrocław, Poland")

From the left: Liebichshöhe ̈(Wzgórze Partyzantów) 1894; Wzgórze Partyzantów and fountain, 1894; city moat, 1898; Japanese Garden, 1930-1937; Słodowa Island, 1905-1908. Source: _fotopolska.eu_.




## _Other colorized images:_

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

Places365 / test dataset.
Binary file added colorized/ksiaz-castle2.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/wroclaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions scripting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
`split-datset.py` splits given dataset into two disjoint subsets. `.txt` file specifies which categories should be considered.

Example:
```bash
# For each category in `places10.txt`
# 4096 pics from train/ will go to places10/train
# 128 pics from train/ will go to places10/val
python3 scripting/split-dataset.py data/places365_standard/train/ data/places10/ scripting/places10.txt train 4096 --bname val --bsize 128
# 96 pics from val/ will go to places10/test
python3 scripting/split-dataset.py data/places365_standard/val/ data/places10/ scripting/places10.txt test 96
```



More:
```bash
python3 scripting/split-dataset.py --help
```


0 comments on commit 525d81b

Please sign in to comment.