Code Monkey home page Code Monkey logo

comformer's Introduction

CoMFormer: Continual Learning in Semantic and Panoptic Segmentation

Fabio Cermelli, Matthieu Cord, Arthur Douillard

[ arXiv ] [ BibTeX ]

Installation

See installation instructions.

Getting Started

Prepare the datasets

See Preparing Datasets for Mask2Former.

How to configure the methods:

Per-Pixel baseline: MODEL.MASK_FORMER.PER_PIXEL True

Mask-based methods: MODEL.MASK_FORMER.SOFTMASK True MODEL.MASK_FORMER.FOCAL True

CoMFormer: CONT.DIST.PSEUDO True CONT.DIST.KD_WEIGHT 10.0 CONT.DIST.UKD True CONT.DIST.KD_REW True

MiB: CONT.DIST.KD_WEIGHT 200.0 CONT.DIST.UKD True CONT.DIST.UCE True

PLOP: CONT.DIST.PSEUDO True CONT.DIST.PSEUDO_TYPE 1 CONT.DIST.POD_WEIGHT 0.001

How to run experiments:

ADE Semantic Segmenation:

  • Use config file: cfg_file=configs/ade20k/semantic-segmentation/maskformer2_R101_bs16_90k.yaml
  • 100-50: CONT.BASE_CLS 100 CONT.INC_CLS 50 CONT.MODE overlap (see examples in scripts/ade.sh)
  • 100-10: CONT.BASE_CLS 100 CONT.INC_CLS 10 CONT.MODE overlap (see examples in scripts/ade10.sh)
  • 100-5: CONT.BASE_CLS 100 CONT.INC_CLS 5 CONT.MODE overlap (see examples in scripts/ade5.sh)

ADE Panoptic Segmenation:

  • Use config file: cfg_file=configs/ade20k/panoptic-segmentation/maskformer2_R50_bs16_90k.yaml
  • 100-50: CONT.BASE_CLS 100 CONT.INC_CLS 50 CONT.MODE overlap (see examples in scripts/adps.sh)
  • 100-10: CONT.BASE_CLS 100 CONT.INC_CLS 10 CONT.MODE overlap (see examples in scripts/adps10.sh)
  • 100-5: CONT.BASE_CLS 100 CONT.INC_CLS 5 CONT.MODE overlap (see examples in scripts/adps5.sh)

Citing CoMFormer

If you use CoMFormer in your research, please use the following BibTeX entry.

@article{cermelli2023comformer,
  title={CoMFormer: Continual Learning in Semantic and Panoptic Segmentation},
  author={Fabio Cermelli and Matthieu Cord and Arthur Douillard},
  journal={IEEE/CVF Computer Vision and Pattern Recognition Conference},
  year={2023}
}

Acknowledgement

The code is largely based on Mask2Former.

comformer's People

Contributors

fcdl94 avatar arthurdouillard 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.