Code Monkey home page Code Monkey logo

neurosat's Introduction

About This Fork

This repo is forked from NeuroSAT by Selsam et al. For more information on NeuroSAT, please visit: https://github.com/dselsam/neurosat/

Using this Code

Similar to the main neuroSAT repo, the scripts/ directory includes all the necessary scripts to get started.

  1. Run sh scripts/setup.sh to install dependencies. Note that you need python version to be in range [3.3, 3.6] in order to install tensorflow 1.4.0. Its best to use python 3.6.
  2. Run sh scripts/toy_gen_data.sh to generate toy train and test data.
  3. Run python3 python/normalize_data.py to normalize the labels (times) to be in range [0,1]. Note that the file names for train/test data are currently hardcoded here and need to be modified based on the file names generated in the previous step. This needs to be updated later to take in file names as an arguement.
  4. Run sh scripts/toy_train.sh to train a model for a few iterations on the toy training data.
  5. Run sh scripts/toy_test.sh to evaluate the trained model on the toy test data.
  6. Run sh scripts/toy_solve.sh to (try to) solve the toy test problems.
  7. Run sh scripts/toy_pipeline.sh to run toy_gen_data.sh, toy_train.sh, toy_test.sh, and toy_solve.sh in sequence. Do not use this for now, since labels are not automatically normalized yet.

neurosat's People

Contributors

vin-nag avatar dselsam 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.