Coder Social home page Coder Social logo

reednaidoo / cl-segformer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 683 KB

Retraining a SegFormer with a branch that generates query and key embeddings from intermediate hierarchical feature map logits. This is done so that a contrastive learning task can be performed alongside the segmentation model.

Python 4.80% Jupyter Notebook 95.20%

cl-segformer's Introduction

CL-SegFormer

Retraining a SegFormer with a branch that generates query and key embeddings from intermediate hierarchical feature map logits. This is done so that a contrastive learning task can be performed alongside the segmentation model.

Alt Text

  • Please note that experimentation is not reproducible by simply running "train.py", but the code is structured in such a way that you have access to everything you need to carry out experimentation.

  • Be sure to adjust all root directories in the scripts.

  • CityScapes dataset dataset directory is structured as follows:

CityScapes/
├── annotation
│   └── city_gt_fine
│       ├── train
│       └── val
└── images
    └── city_gt_fine
        ├── train
        └── val

The authors of this work would like to give significant thanks to the authors of

  • SegFormer, (Xie, E., Wang, W., Yu, Z., Anandkumar, A., Álvarez, J.M. and Luo, P., 2021. Segformer: Simple and efficient design for semantic segmentation with transformers. Corr [Online], abs/2105.15203. 2105.15203, Available from: https://arxiv.org/abs/2105.15203.)
  • PEBAL, (Tian, Y., Liu, Y., Pang, G., Liu, F., Chen, Y. and Carneiro, G., 2021. Pixel-wise energy-biased abstention learning for anomaly segmentation on complex urban driving scenes. Corr [Online], abs/2111.12264. 2111.12264, Available from: https://arxiv. org/abs/2111.12264)
  • CVT, ( Wang, H., Lu, Y. and Chen, X., 2023. Contrastive vision transformer for self-supervised out-of-distribution detection [Online]. Available from: https://openreview.net/ forum?id=UAmH4nDH4l.)

cl-segformer's People

Contributors

reednaidoo avatar

Watchers

Kostas Georgiou avatar  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.