• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐ŸŽจ Automatic Image Colorization using TensorFlow based on Residual Encoder Network

Automatic Image Colorization

PRs Welcome License: GPL v3 Template from jarvis

Overview

This is a TensorFlow implementation of the Residual Encoder Network based on Automatic Colorization and the pre-trained VGG16 model from https://github.com/machrisaa/tensorflow-vgg

For latest TensorFlow with estimator support, check tf-1.12 branch. (still under development, the training code is working now)

Structure

  • config.py: config variables like batch size, training_iters and so on
  • image_helper.py: all functions related to image manipulation
  • read_input.py: all functions related to input
  • residual_encoder.py: the residual encoder model
  • common.py: the common part for training and testing, which is mainly the workflow for this model
  • train.py: train the residual encoder model using TensorFlow built-in AdamOptimizer
  • test.py: test your own images and save the output images

TensorFlow graph

residual_encoder

How to use

  • Download pre-trained VGG16 model vgg16.npy to vgg folder

  • Option 1: Use pre-trained residual encoder model

    • Download model here
    • Unzip all files to summary_path (you can change this path in config.py)
  • Option 2: Train your own model!

    1. Change the batch_size and training_iters if you want.
    2. Change training_dir to your directory that has all your training jpg images
    3. Run python train.py
  • Test

    1. Change testing_dir to your directory that has all your testing jpg images
    2. Run python test.py

Examples

References

Contributing

See CONTRIBUTING.md

License

GNU GPL 3.0 for personal or research use. COMMERCIAL USE PROHIBITED.

More Repositories

1

vue-typescript-admin-template

๐Ÿ–– A vue-cli 3.0 + typescript minimal admin template
Vue
5,498
star
2

Multiplayer-FPS

๐ŸŽฎ A multiplayer first person shooter game based on Unity Game Engine
C#
954
star
3

express-webpack-react-redux-typescript-boilerplate

๐ŸŽ‰ A full-stack boilerplate that using express with webpack, react and typescirpt!
TypeScript
165
star
4

Magic-Tower-Qt

โš”๏ธ This is the C++(with Qt) version Magic-Tower game
C++
62
star
5

pytorch-nn-practice

๐Ÿ’ฉ My pytorch neural network practice repo
Python
52
star
6

vue-typescript-admin-mock-server

๐Ÿ–ฅ Mock server for vue-typecript-admin-template project
JavaScript
42
star
7

Nightmares-VR

๐Ÿ‘ป A survival shooter game based on C# in Unity 3D, I also integrated VR (with Google Cardboard) into this game :D
C#
27
star
8

Jarvis

๐Ÿค– "Perhaps, if you intend to visit other planets, we should improve the exosystems."
TypeScript
21
star
9

vue-typescript-admin-docs

๐Ÿ“ The documentation source for vue-typescript-admin-template project
HCL
20
star
10

Book-Store-Management-System

A simple but useful C++ program, assignment 1 in OOP course
C++
16
star
11

pixiv-spider

๐Ÿ•ท ๅ“‡ๆฅๆ‰’ไธ€ๆ‰’p็ซ™hhhh (Web scraper for pixiv)
Python
12
star
12

upass-sfu

๐ŸšŒ Python script to auto renew monthly UPass for SFU student
Python
10
star
13

Openssl-AES

๐Ÿ”‘ Using Openssl library to encrypt and decrypt things (with AES).
C
10
star
14

K-SkyBand-Query-in-PostgreSQL

๐Ÿ“Š K-SkyBand Query in PostgreSQL
C
6
star
15

Cocomic

๐Ÿ’ซ CMPT470 Project: An open-source platform for comic/manga collaboration
JavaScript
5
star
16

sentence-classifier-based-on-word-similarity

๐Ÿ‘€ A very simple sentence classifier based on word similarity with NLTK and rake_nltk package
Python
5
star
17

vscode-typescript-react-redux-snippets

๐Ÿ‘จโ€๐Ÿ’ป Typescript, React and Redux snippets for VSCode (followed ES6 standard)
TypeScript
4
star
18

nlp-paper-reading

๐Ÿง  Repository to remind myself of daily paper reading for NLP.
3
star
19

ZB_notepad

This is the project for โ€œPrinciples of Computer Compositionโ€
JavaScript
3
star
20

Lou-CPU

This is Lou Sir's CPU =w=
Verilog
3
star
21

lol

ๆต™ๆฑŸๅคงๅญฆLOLๅ…จๅ›ฝ้ซ˜ๆ กๆŒ‘ๆˆ˜่ต› ๅญๆดปๅŠจไฝœๅ“ๅฑ•็คบ้กต้ข
HTML
2
star
22

commitlint-config-armour

๐Ÿ‘€ My shareable config for commitlint
JavaScript
2
star
23

gmail-bot

๐Ÿค– Gmail bot for CMPT412 TA
Python
2
star
24

CMPT300

This is the repository for course CMPT300 assignments in SFU
C
2
star
25

Tanks

A 2 player tanks game (one keyboard) based on C# in Unity 3D
C#
1
star
26

boxbuy

This is the iOS version code for BOXBUY in ZJU [DEPRACATED]
Objective-C
1
star
27

Algorithms

๐Ÿง  Implements of Algorithms and Data Structures in C/C++/Python, also contains some codes as note like STL
C++
1
star
28

Dot-Files

โœ This repo is DEPRECATED in favor of [Jarvis](https://github.com/Armour/Jarvis)
Python
1
star
29

Handsim

This is a pretty handsome simulator of assembling and dissembling, and it is all for Lou Sir :D
C++
1
star
30

PHP_notes

sth about php
PHP
1
star
31

Space-Shooter

A simple Unity 3D game based on C#
ShaderLab
1
star
32

game-of-life-in-verilog

Game of life
Verilog
1
star
33

CMPT365

This is the repository for course CMPT365 assignments in SFU
Objective-C++
1
star
34

Resume

๐Ÿ™ˆ My resume
TeX
1
star
35

Roll-a-Ball

A simple Unity 3D game based on C#
C#
1
star
36

CMPT361

This is the repository for course CMPT361 assignments in SFU
C++
1
star
37

go-validate-npm-package-name

๐Ÿ”ฎ Go clone of https://github.com/npm/validate-npm-package-name - Check if the given string is an acceptable npm package name
Go
1
star
38

LeetCode

๐Ÿ‘จโ€๐Ÿ’ป This repo is used for storing my solution for LeetCode OJ.
C++
1
star