Giter Site home page Giter Site logo

polinamaltz / image-combiner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andili99/image-combiner

0.0 0.0 0.0 17.93 MB

Autoencoder neural network built for combining images by encoding two separate images together and decoding the result.

Python 100.00%

image-combiner's Introduction

Update

There is now a fully convolutional network available, with the possibility of dense layers if desired. The fully convolutional structure is achieved through deconvolutional layers used in order to reconstruct images. Included is now a dataset of faces in which the network is being trained on. The faces are of size (250x250), and can be accessed through the face_loader.py script, which will load the images into a 3D vector for input. There is also a class that is able to read URL's and automatically webscrape images.

The training is really slow, this is probably due to implementing our own version of convolutional networks instead of using an external library. In the future we hope to apply Keras or TensorFlow to projects.

image-combiner

Autoencoder neural network built for combining images by encoding two separate images together and decoding the result.

The neural network is trained on a dataset consisting of the same input as output. The structure of the neural network contains a bottle-neck, a significantly lower amount of neurons in the middle layer. This forces the neural network to learn to encode and decode the image using the first and second halves of the network respectively.

In our training example we used a 784 -> 30 -> 784 fully connected neural network in order to process images.

Currently the network is trained to combine images from the MNIST dataset. In the future we will apply this to various other types of images (such as faces, art, photographs)

Demo

Demo.gif This is one example of the combination of two mnist images. Here the number transforms from a 4 to a 7.

Acknowledgements

The fully connected neural network part of this project makes use of a heavily modified version of Michael Nielsen's neural network code. His code and book can be found at http://neuralnetworksanddeeplearning.com

image-combiner's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.