All Projects β†’ fidler-lab β†’ delse

fidler-lab / delse

Licence: GPL-3.0 License
PyTorch code for Deep Extreme Level Set Evolution (CVPR 2019)

Projects that are alternatives of or similar to delse

classifai
πŸ”₯ One of the most comprehensive open-source data annotation platform.
Stars: ✭ 99 (+59.68%)
Mutual labels:  annotation, labelling
video-clip-order-prediction
Self-supervised Spatiotemporal Learning via Video Clip Order Prediction
Stars: ✭ 85 (+37.1%)
Mutual labels:  cvpr2019
compile-command-annotations
Annotation hints for the Hotspot JVM JIT compiler.
Stars: ✭ 38 (-38.71%)
Mutual labels:  annotation
texthighlighter
a no dependency typescript npm package for highlighting user selected text
Stars: ✭ 17 (-72.58%)
Mutual labels:  annotation
react-picture-annotation
A simple annotation component.
Stars: ✭ 53 (-14.52%)
Mutual labels:  annotation
Learning2AdaptForStereo
Code for: "Learning To Adapt For Stereo" accepted at CVPR2019
Stars: ✭ 73 (+17.74%)
Mutual labels:  cvpr2019
web-verse
Toolbox for deep, resilient, markup-invariant linking into HTML documents without their cooperation
Stars: ✭ 25 (-59.68%)
Mutual labels:  annotation
open-semantic-desktop-search
Virtual Machine for Desktop Search with Open Semantic Search
Stars: ✭ 22 (-64.52%)
Mutual labels:  annotation
acl2020-interactive-entity-linking
No description or website provided.
Stars: ✭ 26 (-58.06%)
Mutual labels:  annotation
understanding apr
No description or website provided.
Stars: ✭ 38 (-38.71%)
Mutual labels:  cvpr2019
HierarchyLayout
[CVPR'19] Hierarchy Denoising Recursive Autoencoders for 3D Scene Layout Prediction
Stars: ✭ 20 (-67.74%)
Mutual labels:  cvpr2019
bacannot
Generic but comprehensive pipeline for prokaryotic genome annotation and interrogation with interactive reports and shiny app.
Stars: ✭ 51 (-17.74%)
Mutual labels:  annotation
PinFloyd
MapKit annotations clustering for iOS
Stars: ✭ 29 (-53.23%)
Mutual labels:  annotation
FEELnc
FEELnc : FlExible Extraction of LncRNA
Stars: ✭ 61 (-1.61%)
Mutual labels:  annotation
junit-annotate-buildkite-plugin
πŸ“ˆ Summarise your test failures as a build annotation
Stars: ✭ 18 (-70.97%)
Mutual labels:  annotation
video repres mas
code for CVPR-2019 paper: Self-supervised Spatio-temporal Representation Learning for Videos by Predicting Motion and Appearance Statistics
Stars: ✭ 63 (+1.61%)
Mutual labels:  cvpr2019
mapus
A map tool with real-time collaboration πŸ—ΊοΈ
Stars: ✭ 2,687 (+4233.87%)
Mutual labels:  annotation
doccano-client
A simple client wrapper for doccano API.
Stars: ✭ 52 (-16.13%)
Mutual labels:  annotation
TextGridTools
Read, write, and manipulate Praat TextGrid files with Python
Stars: ✭ 84 (+35.48%)
Mutual labels:  annotation
simple-annotation-processor
Simple annotation processor example. Inspired by the idea of "How ButterKnife works?"
Stars: ✭ 54 (-12.9%)
Mutual labels:  annotation

Deep Extreme Level Set Evolution (DELSE)

This is the PyTorch implementation of DELSE model for object instance segmentation. This repository provides code to train and evaluate with DELSE. For details, please refer to:

Object Instance Annotation with Deep Extreme Level Set Evolution
Zian Wang, David Acuna*, Huan Ling*, Amlan Kar, Sanja Fidler

[Project Page][Paper] [Poster][bibtex]

CVPR 2019

Where is the code?

To get the code, please sign up here. We will be using GitHub to keep track of issues with the code and to update on availability of newer versions (also available on website and through e-mail to signed up users).

If you find this code helpful, please consider citing

@inproceedings{DELSE2019,
title={Object Instance Annotation with Deep Extreme Level Set Evolution},
author={Zian Wang and David Acuna and Huan Ling and Amlan Kar and Sanja Fidler},
booktitle={CVPR},
year={2019}
}

Installation

The code was tested with Anaconda (Python 3.6) and PyTorch 0.4.1.

  1. Install dependencies:

    conda install pytorch torchvision -c pytorch
    conda install matplotlib opencv pillow scikit-image
    pip install tensorboard tensorboardx
    
  2. Download the pre-trained PSPNet model.

    cd models/
    chmod +x download_pretrained_psp_model.sh
    ./download_pretrained_psp_model.sh
  3. Set the paths in mypath.py, so that they point to the appropriate locations of PASCAL/SBD/DAVIS/CityScapes dataset.

Data

Cityscapes

  • Download the Cityscapes dataset (leftImg8bit_trainvaltest.zip) from the official website [11 GB]
  • Download our processed annotation files from here [68 MB]
  • From the root directory, run the following command with appropriate paths to get the annotation files ready for your machine
python dataloaders/change_paths.py --city_dir <path_to_downloaded_leftImg8bit_folder> --json_dir <path_to_downloaded_annotation_file> --output_dir <output_dir>
  • Set the path in mypath.py to the location of CityScapes dataset.

Scripts

Project Structure

.
β”œβ”€β”€ networks        				# backend CNN modules
|   └── ...       		
β”œβ”€β”€ layers           			# loss and level set evolution mechanism
|   └── ...
β”œβ”€β”€ dataloaders           			# thank DEXTR and PolyRNN for loaders
|   β”œβ”€β”€ cityscapes.py       		
|   β”œβ”€β”€ davis.py        			
|   β”œβ”€β”€ pascal.py    				
|   β”œβ”€β”€ sbd.py    					
|   β”œβ”€β”€ custom_transforms.py    	# transforms for data
|   β”œβ”€β”€ helpers.py    			# helper functions used in data processing
|   └── ...
β”œβ”€β”€ models				# deeplab pretrained model
|   └── ...
β”œβ”€β”€ evaluation						
|   └── eval.py				# function for eval
|
β”œβ”€β”€ DELSE.py       			# model
β”œβ”€β”€ mypath.py     			# path for datasets
β”œβ”€β”€ eval_multi.py     			# run multi evaluation 
└── main.py        			# training and testing

Training

Run python main.py for training. The default argparse parameters is for Cityscapes. The parameters of settings are in main.py.

Evaluation

Set the index of experiments and evaluation settings in eval_multi.py (Line 14-18 in function param_generateor). Run python eval_multi.py for evaluation on your predicted results.

The model ckeckpoint on Cityscapes dataset can be found here. If the intermediate outputs are not saved, please get the inference outputs first with the test function in DELSE.py.


If you have questions with this code, please contact [email protected]. We would like to thank DEXTR for releasing their code.

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].