Giter Site home page Giter Site logo

blocks-examples's Introduction

Blocks examples

This repository contains a series of scripts, examples, models, etc. that can serve as a guide or inspiration when getting started with Blocks. To get started simply clone this repository and hack away at the scripts provided.

$ git clone [email protected]:mila-udem/blocks-examples.git

Running the examples

To pick the simplest example first, one this repository has been downloaded, cd into it, and :

python -m sqrt --num-batches 1000 sqrt/saved_state

Technical Note

Executing this command line will run the code in the sqrt module : specifically the command-line argument parser in the sqrt/__main__.py file. Having the main entry point here is mostly a quirk of the Python module system - we wanted to keep the launching command as simple as possible.

Understanding the examples

The entry point of each example is main() function in EXAMPLE-NAME/__init__.py.

We're currently working on getting better documentation coverage of the examples, and GitHub will helpfully display the contents of each folder's README file.

There's also certainly useful information in the blocks and fuel documentation :

Examples of projects using Blocks

We host only standard and relatively compact examples here. For more advanced and real-world examples see the following project, all of which heavily use Blocks:

blocks-examples's People

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.