Code Monkey home page Code Monkey logo

Comments (4)

dongzelian avatar dongzelian commented on July 18, 2024

@Gaffey Hi, as mentioned in our paper, the shift size=5, but the shift size=3 in the previous config file. We have modified the config file https://github.com/svip-lab/AS-MLP/blob/main/configs/as_tiny_patch4_shift5_224.yaml. Please check 4cb6e44. Using the new config, we reimplement the uploaded code and get 81.33 acc.

from as-mlp.

Gaffey avatar Gaffey commented on July 18, 2024

@dongzelian Thank you for your kind reply. Besides, I find a small difference between the code and the paper. The initial learning rate is set as 0.0005 in the code (BASE_LR in config.py) and 0.001 in the paper, which is the final used one?

from as-mlp.

dongzelian avatar dongzelian commented on July 18, 2024

@Gaffey Hi, the initial learning rate is 0.001, which is consistent with the value in the paper. Please note the batch size is 1024 (128/per GPU * 8GPUs) and refer to this line

AS-MLP/main.py

Line 319 in 5f36034

linear_scaled_lr = config.TRAIN.BASE_LR * config.DATA.BATCH_SIZE * dist.get_world_size() / 512.0

from as-mlp.

Gaffey avatar Gaffey commented on July 18, 2024

@dongzelian got it, thanks again.

from as-mlp.

Related Issues (19)

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.