Coder Social home page Coder Social logo

layer_net's Introduction

This is a simple old school convolutional neural network which if specified can train every convolutional layer independently on the labelled data, such that in essence three models are being trained. The first model would be comprised of a single conv layer, a dense layer and a softmax activation. Once the first model has been trained the value of the weights from the conv layer are insterted into the first layer weights of the second model which has two conv layers, a dense layer and then a softmax activation. The second model is trained such that the previously inserted weights are frozen. The first and second layer weights are collected and inserted into a third model comprised of two conv layers two dense layers and softmax. The weights are inserted as the weight values of the third model then frozen while the rest of the weights from above layers are adjusted during training. The accuracies, as well as the train and test neuron values from the model are then collected for mapping function smoothness between layers and labels later on. 

Run with python3

To test run:

python app.py --model_type='irregular' --epochs=2 --batch_size=128 --num_epochs_per_decay=350. --lr_decay_factor=0.1 --dev=True

To do:

-unhack tensorflow data method use in data.py
-allow frozen weights to adjust with varying learning rates
-add logging and exceptions
-write layers in compressed file to speed things up
-integrate with waveletforest code

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.