Git Product home page Git Product logo

pytorch-project-template's Introduction

PyTorch Project Template

This is a project template for PyTorch using Ignite and Sacred to run, store and keep track off all the experiments. Ignite provides the different engines and event handlers to train and track the progress of the runs. Sacred on the other hand provides functionality to define and store results in a way that it is easy to reproduce and retrieve them for analysis.

Dependencies

This is the list of main libraries:

  • PyTorch and Torchvision: Basic framework for Deep Learning models and training.
  • Ignite: High-level framework to train models, eliminating the need for much boilerplate code.
  • Sacred: Libary used to define and run experiments in a systematic way.
  • Jupyter: The default way to visualise and analise results.

Optional libraries (but highly recommended):

  • GitPython: Useful to integrate Sacred to Git. This allows to keep track of the status of the repo when an experiment was ran.
  • MongoDB: To store the results in database instead of simple files.
  • PyMongo: Needed if you want to use MongoDB.
  • Incense: To load experiments from a MongoDB database into a Jupyter Notebook.
  • Omniboard: To visualise the results contained in a database.

Instalation

Refer to each page for how to install the corresponding libraries and their dependencies. Then, we can create a project from the template using GitHub's template functionality. For more details refer to "Creating a repository project board" on GitHub.

pytorch-project-template'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.