Giter Club home page Giter Club logo

Comments (4)

bowenc0221 avatar bowenc0221 commented on June 30, 2024

FLOPs comparison does not make any sense without specifying input sizes. We recompute all FLOPs with the same input size for a fair comparison. The FLOPs reported in the Swin Transformer paper use a different input size.

from maskformer.

liuyang-ict avatar liuyang-ict commented on June 30, 2024

In the appendix of Swin-Transformer: "Swin-T, Swin-S are trained on the standard-setting as the previous approaches with an input of 512×512. Swin-B and Swin-L with z indicate that these two models are pre-trained on ImageNet-22K, and trained with the input of 640×640".
In your paper, the crop size is also 512x512. What's the difference in the input size between Swin and Maskformer.

from maskformer.

bowenc0221 avatar bowenc0221 commented on June 30, 2024

Yes, we train our model using the same crop size as Swin Transformer. But FLOPs calculation is separate and does not need to use the same crop size as training. We confirmed with authors of Swin Transformer and they used different input size to calculate FLOPs. Thus, we re-calculate FLOPs for a fair comparison.

from maskformer.

liuyang-ict avatar liuyang-ict commented on June 30, 2024

from maskformer.

Related Issues (20)

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.