Giter Site home page Giter Site logo

vitae-transformer / vitae-vsa Goto Github PK

View Code? Open in Web Editor NEW
151.0 2.0 9.0 10.22 MB

The official repo for [ECCV'22] "VSA: Learning Varied-Size Window Attention in Vision Transformers"

Home Page: https://arxiv.org/abs/2204.08446

Python 50.68% Shell 0.05% Jupyter Notebook 49.21% Dockerfile 0.04% Makefile 0.01% Batchfile 0.01%
attention-mechanism backbone classification deep-learning instance-segmentation object-detection vision-transformer

vitae-vsa's Issues

img_size in VSA attention

Hello, i would like to ask about the setting of img_size=(1,1) in line 36 vsa.py. Which size does it mean? thanks a lot.

pre-trained model of Swin + VSA

hello, i am now doing a work about semantic segmentation and i would like to use swin with vsa model as the feature extractor backbone. I would like to ask, about when will you maybe upload the pre-trained model? Without pretrained model the results are really with low accuracy now... Thank you so much.

Is it possible the positional encoding rather than VSA works?

In your code file ViTAE-VSA\Image-Classification\vitaev2_vsa\NormalCell.py L130:
self.pos = nn.Conv2d(dim, dim, window_size//2*2+1, 1, window_size//2, groups=dim, bias=True)
your window_sizeis 7,so the self.pos convolution kernel is 7 too, in most Positional Encoding extractor it is so large.

So is it possible that the positional encoding rather than VSA is working ?

Swin+VSA

语义分割和 Swin+VSA 什么时候发布呀

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.