Giter Club home page Giter Club logo

autopanoptic's Introduction

Auto-Panoptic: Cooperative Multi-Component Architecture Search for Panoptic Segmentation

This repository provides the implementation of NeurIPS2020 Paper:

Auto-Panoptic: Cooperative Multi-Component Architecture Search for Panoptic Segmentation, and supplementary materials can be downloaded here.

This repository is based on maskrcnn-benchmark and DetNAS.

Installation

Check INSTALL.md for installation instructions.

Data Preparation

Download and extract COCO 2017 train and val images with annotations from http://cocodataset.org. Following Panoptic-FPN, we predict 53 stuff classes plus a single ‘other’ class for all 80 thing classes for semantic segmentation. Thus we squeeze all thing classes label to id 0 and create the folder PanopticAnnotation. For architecture search, we randomly split coco train set into nas_train and nas_val set (5k images). We provide the download link here.

We expect the directory structure to be the following:

maskrcnn-benchmark/
    - datasets/
        - coco/
            - train2017/
            - val2017/
            - nas/
                - instances_nas_train2017.json
                - instances_nas_val2017.json
            - annotations/  
                - ...
                - PanopticAnnotation/ 

Supernet Pretrain on ImageNet

We pretrain our model on ImageNet using the same search space and training schedule as DetNAS. Please follow the instructions here or you can download our pretrain model autopanoptic_imagenet_pretrain.pkl directly.

Supernet Finetuning & Architecture Search on COCO

export CURRENT_DIR={your_root_dir}
cd $CURRENT_DIR
sh scripts/architecture_search.sh

We provide our search log here and searched architecture in maskrcnn-benchmark/test_models/. Note that you should change MODEL.WEIGHT to the correct pretrain model path before architecture search.

Pretrain Searched Model on ImageNet

export CURRENT_DIR={your_root_dir}
cd $CURRENT_DIR
sh scripts/pretrain_searched_model.sh

We provide our imagenet pretrain model here.

Retrain Searched Model on COCO

export CURRENT_DIR={your_root_dir}
cd $CURRENT_DIR
sh scripts/train_searched_model.sh

We provide our training log and panoptic model. Note that you should change MODEL.WEIGHT to the correct imagenet pretrain model path before retraining.

Evaluation on COCO

bash
export CURRENT_DIR={your_root_dir}
cd $CURRENT_DIR
sh scripts/eval.sh

We provide our evaluation log.

Results

Method PQ PQ_thing PQ_stuff
UPSNet 42.5 48.5 33.4
BGRNet 43.2 49.8 33.4
SOGNet 43.7 50.6 33.2
Auto-Panoptic(Ours) 44.8 51.4 35.0

Citations

@article{wu2020auto, 
    title={Auto-Panoptic: Cooperative Multi-Component Architecture Search for Panoptic Segmentation}, 
    author={Wu, Yangxin and Zhang, Gengwei, and Xu, Hang and Liang, Xiaodan and Lin, Liang}, 
    journal={Advances in Neural Information Processing Systems},
    volume={33},
    year={2020}
}

autopanoptic's People

Contributors

jacobew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cv-ip jie311 lt1st

autopanoptic's Issues

2 days.

Hi it's RiotRuth. 2 days.

About the crop size

It is an amazing work.

While I have some non-trivial details as bellow,

  1. What is the crop size when training the supernet on the Cityscapes dataset?
  2. Does the multi-scale inference strategy been exploited when benchmarking on the Cityscapes dataset?

Looking forward to you reply.

ADE20K

Dear author:
如何在ADE20K上评估呢,想学习一下

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.