Giter Site home page Giter Site logo

calebeverett / fastai2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fastai/fastai2

0.0 2.0 0.0 257.77 MB

Temporary home for fastai v2 while it's being developed

Home Page: https://dev.fast.ai

License: Apache License 2.0

Python 1.62% Smarty 0.01% C++ 0.01% Cuda 0.03% Jupyter Notebook 98.33% Makefile 0.01%

fastai2's Introduction

Welcome to fastai v2

NB: This is still in early development. Use v1 unless you want to contribute to the next version of fastai

To learn more about the library, read our introduction in the paper presenting it.

Installing

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:

git clone https://github.com/fastai/fastai2
cd fastai2
conda env create -f environment.yml
source activate fastai2

Then, you can install fastai v2 with pip: pip install fastai2.

Or you can use an editable install (which is probably the best approach at the moment, since fastai v2 is under heavy development):

git clone https://github.com/fastai/fastai2
cd fastai2
pip install -e ".[dev]"

You should also use an editable install of fastcore to go with it.

If you want to browse the notebooks and build the library from them you will need nbdev:

pip install nbdev

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

conda install pyarrow
pip install pydicom kornia opencv-python scikit-image

Tests

To run the tests in parallel, launch:

nbdev_test_nbs

or

make test

Contributing

After you clone this repository, please run nbdev_install_git_hooks 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 nbdev_diff_nbs 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 nbdev_build_lib or make fastai2.
  • If you made a change to the library, you can export it back to the notebooks with nbdev_update_lib.

fastai2's People

Contributors

sgugger avatar jph00 avatar lgvaz avatar borisdayma avatar cwza avatar takotab avatar mnpinto avatar hussam789 avatar pete88b avatar jaidmin avatar jakublangr avatar hoftherose avatar dperezrada avatar akashpalrecha avatar bearpelican avatar ismailfatih avatar jestinepaul avatar kamil-kaczmarek avatar pcuenca avatar morganmcg1 avatar

Watchers

James Cloos avatar paper2code - bot 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.