All Projects → warmspringwinds → Pytorch Segmentation Detection

warmspringwinds / Pytorch Segmentation Detection

Image Segmentation and Object Detection in Pytorch

Projects that are alternatives of or similar to Pytorch Segmentation Detection

Jdata
京东JData算法大赛-高潜用户购买意向预测入门程序(starter code)
Stars: ✭ 662 (-4.34%)
Mutual labels:  jupyter-notebook
Hchasestevens.github.io
A collection of miscellaneous thoughts that aren't on my blog.
Stars: ✭ 678 (-2.02%)
Mutual labels:  jupyter-notebook
Deeplearningmugenknock
でぃーぷらーにんぐを無限にやってディープラーニングでDeepLearningするための実装CheatSheet
Stars: ✭ 684 (-1.16%)
Mutual labels:  jupyter-notebook
Notebook
Stuff going through my mind
Stars: ✭ 664 (-4.05%)
Mutual labels:  jupyter-notebook
Pseudo lidar
(CVPR 2019) Pseudo-LiDAR from Visual Depth Estimation: Bridging the Gap in 3D Object Detection for Autonomous Driving
Stars: ✭ 674 (-2.6%)
Mutual labels:  jupyter-notebook
Numerical Mooc
A course in numerical methods with Python for engineers and scientists: currently 5 learning modules, with student assignments.
Stars: ✭ 681 (-1.59%)
Mutual labels:  jupyter-notebook
Self Driving Car
The Udacity open source self-driving car project
Stars: ✭ 5,769 (+733.67%)
Mutual labels:  jupyter-notebook
Pytorch Multi Style Transfer
Neural Style and MSG-Net
Stars: ✭ 687 (-0.72%)
Mutual labels:  jupyter-notebook
Cracking The Data Science Interview
A Collection of Cheatsheets, Books, Questions, and Portfolio For DS/ML Interview Prep
Stars: ✭ 672 (-2.89%)
Mutual labels:  jupyter-notebook
Natural Language Youtube Search
Search inside YouTube videos using natural language
Stars: ✭ 676 (-2.31%)
Mutual labels:  jupyter-notebook
Keras Io
Keras documentation, hosted live at keras.io
Stars: ✭ 664 (-4.05%)
Mutual labels:  jupyter-notebook
Medium notebook
Repository containing notebooks of my posts on Medium
Stars: ✭ 671 (-3.03%)
Mutual labels:  jupyter-notebook
Parallelwavegan
Unofficial Parallel WaveGAN (+ MelGAN & Multi-band MelGAN) with Pytorch
Stars: ✭ 682 (-1.45%)
Mutual labels:  jupyter-notebook
Captcha Tensorflow
Image Captcha Solving Using TensorFlow and CNN Model. Accuracy 90%+
Stars: ✭ 660 (-4.62%)
Mutual labels:  jupyter-notebook
Dsnd term2
Contains files related to content and project of DSND Term 2
Stars: ✭ 685 (-1.01%)
Mutual labels:  jupyter-notebook
Learnpython
以撸代码的形式学习Python
Stars: ✭ 6,040 (+772.83%)
Mutual labels:  jupyter-notebook
Shapash
Shapash makes Machine Learning models transparent and understandable by everyone
Stars: ✭ 673 (-2.75%)
Mutual labels:  jupyter-notebook
Featexp
Feature exploration for supervised learning
Stars: ✭ 688 (-0.58%)
Mutual labels:  jupyter-notebook
Ntu Machine Learning
台湾大学李宏毅老师机器学习
Stars: ✭ 684 (-1.16%)
Mutual labels:  jupyter-notebook
Cugraph
cuGraph - RAPIDS Graph Analytics Library
Stars: ✭ 683 (-1.3%)
Mutual labels:  jupyter-notebook

Image Segmentation and Object Detection in Pytorch

Pytorch-Segmentation-Detection is a library for image segmentation and object detection with reported results achieved on common image segmentation/object detection datasets, pretrained models and scripts to reproduce them.

Segmentation

PASCAL VOC 2012

Implemented models were tested on Restricted PASCAL VOC 2012 Validation dataset (RV-VOC12) or Full PASCAL VOC 2012 Validation dataset (VOC-2012) and trained on the PASCAL VOC 2012 Training data and additional Berkeley segmentation data for PASCAL VOC 12.

You can find all the scripts that were used for training and evaluation here.

This code has been used to train networks with this performance:

Model Test data Mean IOU Mean pix. accuracy Pixel accuracy Inference time (512x512 px. image) Model Download Link Related paper
Resnet-18-8s RV-VOC12 59.0 in prog. in prog. 28 ms. Dropbox DeepLab
Resnet-34-8s RV-VOC12 68.0 in prog. in prog. 50 ms. Dropbox DeepLab
Resnet-50-16s VOC12 66.5 in prog. in prog. in prog. in prog. DeepLab
Resnet-50-8s VOC12 67.0 in prog. in prog. in prog. in prog. DeepLab
Resnet-50-8s-deep-sup VOC12 67.1 in prog. in prog. in prog. in prog. DeepLab
Resnet-101-16s VOC12 68.6 in prog. in prog. in prog. in prog. DeepLab
PSP-Resnet-18-8s VOC12 68.3 n/a n/a n/a in prog. PSPnet
PSP-Resnet-50-8s VOC12 73.6 n/a n/a n/a in prog. PSPnet

Some qualitative results:

Alt text

Endovis 2017

Implemented models were trained on Endovis 2017 segmentation dataset and the sequence number 3 was used for validation and was not included in training dataset.

The code to acquire the training and validating the model is also provided in the library.

Additional Qualitative results can be found on this youtube playlist.

Binary Segmentation

Model Test data Mean IOU Mean pix. accuracy Pixel accuracy Inference time (512x512 px. image) Model Download Link
Resnet-9-8s Seq # 3 * 96.1 in prog. in prog. 13.3 ms. Dropbox
Resnet-18-8s Seq # 3 96.0 in prog. in prog. 28 ms. Dropbox
Resnet-34-8s Seq # 3 in prog. in prog. in prog. 50 ms. in prog.

Resnet-9-8s network was tested on the 0.5 reduced resoulution (512 x 640).

Qualitative results (on validation sequence):

Alt text

Multi-class Segmentation

Model Test data Mean IOU Mean pix. accuracy Pixel accuracy Inference time (512x512 px. image) Model Download Link
Resnet-18-8s Seq # 3 81.0 in prog. in prog. 28 ms. Dropbox
Resnet-34-8s Seq # 3 in prog. in prog. in prog. 50 ms. in prog

Qualitative results (on validation sequence):

Alt text

Cityscapes

The dataset contains video sequences recorded in street scenes from 50 different cities, with high quality pixel-level annotations of 5 000 frames. The annotations contain 19 classes which represent cars, road, traffic signs and so on.

Model Test data Mean IOU Mean pix. accuracy Pixel accuracy Inference time (512x512 px. image) Model Download Link
Resnet-18-32s Validation set 61.0 in prog. in prog. in prog. in prog.
Resnet-18-8s Validation set 60.0 in prog. in prog. 28 ms. Dropbox
Resnet-34-8s Validation set 69.1 in prog. in prog. 50 ms. Dropbox
Resnet-50-16s-PSP Validation set 71.2 in prog. in prog. in prog. in prog.

Qualitative results (on validation sequence):

Whole sequence can be viewed here.

Alt text

Installation

This code requires:

  1. Pytorch.

  2. Some libraries which can be acquired by installing Anaconda package.

    Or you can install scikit-image, matplotlib, numpy using pip.

  3. Clone the library:

git clone --recursive https://github.com/warmspringwinds/pytorch-segmentation-detection

And use this code snippet before you start to use the library:

import sys
# update with your path
# All the jupyter notebooks in the repository already have this
sys.path.append("/your/path/pytorch-segmentation-detection/")
sys.path.insert(0, '/your/path/pytorch-segmentation-detection/vision/')

Here we use our pytorch/vision fork, which might be merged and futher merged in a future. We have added it as a submodule to our repository.

  1. Download segmentation or detection models that you want to use manually (links can be found below).

About

If you used the code for your research, please, cite the paper:

@article{pakhomov2017deep,
  title={Deep Residual Learning for Instrument Segmentation in Robotic Surgery},
  author={Pakhomov, Daniil and Premachandran, Vittal and Allan, Max and Azizian, Mahdi and Navab, Nassir},
  journal={arXiv preprint arXiv:1703.08580},
  year={2017}
}

During implementation, some preliminary experiments and notes were reported:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].