Coder Social home page Coder Social logo

wireless-supercomputer's Introduction

wireless-supercomputer v0.3a

Connecting local computers to compute a problem. This program allows you to send functions to other computers on a local network and receive the computed output.

Documentation

  1. Specify PORT in main.py to tell the server what port to run the program on.
  2. Write functions.py which will include all the functions that could possibly be executed on the client.
  3. Write generate_function(user_id) in main.py which will return 3 values:
    1. the function itself
    2. a dictionary or tuple of the inputs to the function
    3. the name of the function
  4. Write handle_received(received, user_id) to specify what to do with the incoming data the client computed
  5. Make sure that the client has all the dependencies installed, or make a function in functions.py to install them.
  6. Run the server with python3 server.py -m main.py -f functions.py
  7. Run the client with python3 client.py SERVER_IP PORT

For help with running server.py or client.py run python3 server.py -h or python3 client.py -h respectively.

For a basic example, see example_functions.py and example_main.py. More complicated examples using Tensorflow and Keras will be added soon.

Disclaimer

This program is in alpha and still greatly under development, so expect bugs. This is not to be used on a public network nor is any developer of this program responsible for damage or information leaked because of this program. You must be extremely careful when using this program with Tensorflow or Keras with a Tensorflow backend, as graphs become very tricky to manage.

TODO:

Add examples using Keras and/or Tensorflow. Add on_connect and on_disconnect function.

wireless-supercomputer's People

Contributors

sebtheiler 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.