Giter Club home page Giter Club logo

fastai_dev's Introduction

fastai_dev

This repo is used for fastai development. fastai v2 is being developed in the dev folder. Docs are at http://dev.fast.ai .

Installation

You can get all the necessary dependencies by simply installing fastai v1: conda install -c fastai -c pytorch fastai. Or alternatively you can automatically install the dependencies into a new environment:

cd fastai_dev
conda env create -f environment.yml

Then, you can install fastai v2 with pip: pip install git+https://github.com/fastai/fastai_dev. Or clone this repo, cd to its directory, and pip install -e . for an editable install (which is probably the best approach at the moment, since fastai v2 is under heavy development).

To use fastai2.medical.imaging you'll also need to:

conda install pyarrow
pip install pydicom kornia opencv-python

Tests

To run the tests in parallel, do something like this:

for i in {0,1,2}*.ipynb; do sleep 1; python run_notebook.py --fn $i & done

Contributing

After you clone this repository, please run tools/run-after-git-clone in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.

Before submitting a PR, check that the local library and notebooks match. The script diff_nb_script.py can let you know if there is a difference between the local library and the notebooks.

  • If you made a change to the notebooks in one of the exported cells, you can export it to the library with notebook2script.py.
  • If you made a change to the library, you can export it back to the notebooks with script2notebook.py.

fastai_dev's People

Contributors

algal avatar amaarora avatar artste avatar bearpelican avatar bgogul avatar borisdayma avatar brettkoonce avatar dan-zheng avatar dcato98 avatar fredmonroe avatar gnperdue avatar hiromis avatar jantic avatar jekbradbury avatar jph00 avatar kdorichev avatar kevinbird15 avatar lattner avatar madaan avatar marcrasi avatar muellerzr avatar pcuenca avatar pschuh avatar radekosmulski avatar rxwei avatar saadorj avatar saeta avatar sgugger avatar stas00 avatar yang-zhang avatar

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.