GithubHelp home page GithubHelp logo

sautee / fastai_pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fastai/fastai_old

0.0 0.0 0.0 108.16 MB

The fastai library for PyTorch

License: Apache License 2.0

Makefile 0.01% Jupyter Notebook 98.10% Python 1.88% JavaScript 0.01% Smarty 0.01%

fastai_pytorch's Introduction

fastai

The fastai deep learning library.

Copyright 2017 onwards, fast.ai, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. A copy of the License is provided in the LICENSE file in this repository.

Current Status

This is a ground-up rewrite of fastai. Everything should work, although docs are still in progress. If you're interested in contributing, join the discussion at: http://forums.fast.ai/c/fastai-dev.

Install

To use the notebooks or the beta version of the fastai modules you will need:

  • to use python 3.7 or python 3.6 with dataclasses: pip install dataclasses
  • to use the pytorch-nightly conda package, or the master branch of pytorch master
  • to install fastprogress: pip install fastprogress

PyPI Install

First install the nightly pytorch build, e.g. for CUDA 9.2:

pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html

If you have a different CUDA version find the right build here. Choose Preview/Linux/Pip/python3.6 and Your CUDA version and it will give you the correct install instruction.

Now you can install fastai. Note, that this is a beta test version at the moment, please report any issues:

 pip install --index-url https://test.pypi.org/simple/ --extra-index-url  https://pypi.org/simple/ fastai==1.0.0b3

Conda Install

First install the nightly pytorch build:

conda install -c pytorch pytorch-nightly

Now you can install fastai. Note, that this is a beta test version at the moment, please report any issues.

Currently only linux-64/python3.6 conda build is available:

conda install -c fastai -c fastai/label/test fastai torchvision=0.2.1=pyhe7f20fa_0

We had to build a special version of torchvision which depends on pytorch-nightly.

For other setups/platforms use pip install at the moment (see above).

Developer Install

conda install pytorch-nightly -c pytorch
conda install torchvision -c pytorch
git clone https://github.com/fastai/fastai_pytorch
cd fastai_pytorch
pip install -e .
tools/run-after-git-clone

Please refer to CONTRIBUTING.md and the developers guide for more details.

fastai_pytorch's People

Contributors

jph00 avatar sgugger avatar stas00 avatar fredmonroe avatar bearpelican avatar prajjwal1 avatar micpie avatar gokkulnath avatar radekosmulski avatar k0ala 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.