Giter VIP home page Giter VIP logo

segmentation-using-vpt's Introduction

Segmentation Using VPT

model

Overview

In this project, a segmentation model was created by applying the Visual Prompt Tuning (ECCV 2022). Classification tasks are mainly performed in the existing VPT paper, but I deleted the classification head and added a new head for segmentation. (According to the existing VPT paper, it seems that the segmentation was also experimented with, but it is not specifically described.)

A task specific head was created using the Upsampling CNN structure introduced by TransUNet, and PASCAL VOC2012 was used as a dataset.

Results

As a result, segmentation was possible using about 0.78% of the parameters of the existing model

Best Performance : mIoU 58.7%

• ViT_base_patch16_224 , deep , batch = 32, prompt_token = 5

• Max lr = 0.001, epoch = 32, weight_decay = 0.0001

• For training : Cross Entropy, AdamW, OneCycleLR

Below are the example segmentated imgs for various images. Although the result was far below SOTA, I was able to study by understanding the structure of VPT more closely, and I learned a lot in the process of changing the head and pre-processing the dataset!

model

model

model

model

segmentation-using-vpt's People

Contributors

kim-jake avatar

Watchers

 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.