Giter Site home page Giter Site logo

npi-cis700's Introduction

NPI-CIS700

Overview

Here is the final project program of CIS700 Neural Program Learning Course.

The objective of this program is apply Neural Programmer Interpreters (NPIs) for the task to distinguish all non-zero elements in a matrix and mark(reverse) them according to their original value.

File Functions

train.py: Establish and train the NPIs model for the task

test.py: Load and test the trained NPIs model for the task

trace.py: Generate execution traces (Input and Output/Label) required by the training process of NPIs model

Requirements

Python 3.5

Tensorflow 1.4.0

CUDA 7.5

Usage

If you want to train the model, simply run the code, and the trained model will be saved in the ./checkpoints/ folder

python3 train.py

If you want to check the losses during training process, then run the command and enter 'localhost:6006' use your browser

tensorboard --logdir=Tensorboard

If you want test the model using a specified matrix and show the generated commands, run the code, it will load the latest model in the ./checkpoints/ folder

python3 test.py --TestType single --ShowCommands

If you want test the model with multiple randomly generated matrix samples and do not show the generated commands, run the code

python3 test.py --TestType multiple

npi-cis700's People

Contributors

ryany1994 avatar

Watchers

 avatar

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.