Coder Social home page Coder Social logo

laranea / pytorchmedicalai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shahargigi/pytorchmedicalai

0.0 1.0 0.0 5.66 MB

This is the hands-on deep learning tutorial series for the 2018/2019 Medical AI course by DeepOncology AI.

Home Page: http://www.deeponcology.ai

Jupyter Notebook 100.00%

pytorchmedicalai's Introduction

Applied Medical Deep Learning, 2019

bone

Github: https://github.com/deeponcology/PyTorchMedicalAI

Old course:

Author

Shlomo Kashani, Head of AI at DeepOncology AI, Kaggle Expert, Founder of Tel-Aviv Deep Learning Bootcamp: [email protected]

bone

Google Collab + PyTorch Notebooks:

Requirements:

Knowledge of python programming Basics of linear algebra and statistics

Environment :

Google Collab, Google Cloud, Python Jupyter

bone

Labs:

Lab 0001: DevOps + DataLoaders for Deep Learning in PyTorch 0.4

PyTorch is an open source deep learning framework that’s quickly become popular with AI researchers for its ease of use, clean Pythonic API, and flexibility. With the preview release of PyTorch 1.0, developers can now seamlessly move from exploration to production deployment using a single, unified framework.

DevOps for PyTorch on Google Cloud

  • Google Collab setup
  • Running a CUDA program in C from Python

bone

PyTorch 0.4 Intensive, data engineering

  • PyTorch Tensors on the GPU
  • Basics of PyTorch Data Loaders
  • Standard PyTorch Augmentations (Transforms)
  • Writing custom PyTorch Augmentations (RandomErasing)
  • SOTA Augmentation libraries (Albumentations)

Lab 0002: PyTorch 0.4 Intensive, CNN’s for Classification

bone

Lab 0003: PyTorch 0.4 Intensive, CNN's for Segmentation

bone

Lab 0004: PyTorch 0.4 Intensive, CNN's for Detection

bone

Kaggle:

  • Histopathology Images

Old Labs:

About

Deep learning, a sub-domain of machine learning, has lately showed amazing results across an assortment of domains. Biology and medicine are data affluent, but the data is involved and frequently ill-understood. Problems of this quality may be especially well-suited to deep learning methods.

This is a provisional curriculum, which is subject to change without notice.

Requirements

Data Sets in PyTorch

Keep in mind that this repository expects data to be in same format as Imagenet. I encourage you to use your own datasets. In that case you need to organize your data such that your dataset folder has EXACTLY two folders. Name these 'train' and 'val'

The 'train' folder contains training set and 'val' fodler contains validation set on which accuracy / log loss is measured.

The structure within 'train' and 'val' folders will be the same. They both contain one folder per class. All the images of that class are inside the folder named by class name; this is crucial in PyTorch.

If your dataset has 2 classes like in the Kaggle Statoil set, and you're trying to classify between pictures of 1) ships 2) Icebergs, say you name your dataset folder 'data_directory'. Then inside 'data_directory' will be 'train' and 'test'. Further, Inside 'train' will be 2 folders - 'ships', 'icebergs'.

So, the structure looks like this:

|-  data_dir
       |- train 
             |- ships
                  |- ship_image_1
                  |- ship_image_2
                         .....

             |- ice
                  |- ice_image_1
                  |- ice_image_1
                         .....
       |- val
             |- ships
             |- ice

For a full example refer to: https://github.com/QuantScientist/Deep-Learning-Boot-Camp/blob/master/Kaggle-PyTorch/PyTorch-Ensembler/kdataset/seedings.py

pytorchmedicalai'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.