Giter Site home page Giter Site logo

luck1ess / catalyst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catalyst-team/catalyst

0.0 0.0 0.0 379 KB

Reproducible and fast DL/RL.

Home Page: https://github.com/Scitator/catalyst-examples

License: MIT License

Python 98.77% Shell 1.23%

catalyst's Introduction

Catalyst

High-level utils for PyTorch DL/RL research. It was developed with a focus on reproducibility, fast experimentation and code/ideas/models reusing. Being able to research/develop something new, rather then write another regular train loop. Best coding practices included.

Features

  • Universal train/inference loop.
  • Key-values storages.
  • Data and model usage standardization.
  • Configuration files for model/data hyperparameters.
  • Loggers and Tensorboard support.
  • Reproducibility โ€“ even source code will be saved.
  • 1Cycle and LRFinder support.
  • FP16 support.
  • Corrected weight decay (AdamW).
  • N-best-checkpoints saving (SWA).
  • Training stages support.
  • Logdir autonaming based on hyperparameters.
  • Callbacks โ€“ reusable train/inference pipeline parts.
  • Well structured and production friendly.
  • Lots of reusable code for different purposes: losses, optimizers, models, knns, embeddings projector.

Catalyst is compatible with: Python 3.6+. PyTorch 0.4.1+.

Stable branch - master. Development branch - dev.

Usage

git submodule add https://github.com/Scitator/catalyst.git catalyst

Examples

https://github.com/Scitator/catalyst-examples

Dependencies

pip install git+https://github.com/pytorch/tnt.git@master \
    tensorboardX jpeg4py albumentations

Docker

See ./docker for more information and examples.

Contribution guide

Autoformatting code

We use yapf for linting, and the config file is located at .style.yapf. We recommend running yapf.sh prior to pushing to format changed files.

Linter

To run the Python linter on a specific file, run something like flake8 dl/scripts/train.py. You may need to first run pip install flake8.

See codestyle.md for more information.

catalyst's People

Contributors

scitator avatar tezromach avatar ngxbac avatar belskikh avatar lightforever avatar n01z3 avatar hexfaker 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.