Giter VIP home page Giter VIP logo

Comments (7)

Yuxin-CV avatar Yuxin-CV commented on July 17, 2024 1

@JialianW For learning rate adjustment, please follow the Linear Scaling Rule: smaller batch size with smaller learning rate, vice versa.

Hi @JialianW.

To be precise, if you use 0.5x batchsize, then the linear scaling rule (https://arxiv.org/abs/1706.02677) recommends using 0.5x lr optimized via SGD. But QueryInst & Sparse R-CNN as well as DETR families use Adam families to optimize, therefore the linear scaling rule might be too harsh. E.g., DETR does not scale their lr even with batchsize = 64. You can refer to some issues in the DETR repo (facebookresearch/detr#48 (comment)) for details.

For QueryInst, we do use the linear scaling rule when scaling up the batchsize. But I am not sure if there exists a better principle for QueryInst & Adam families.

from queryinst.

Yuxin-CV avatar Yuxin-CV commented on July 17, 2024

Hi @JialianW, thanks for your interest in our work!

As for the logs, we will release them in the near future and we will let you know in the first place, please stay tuned :)

As for the warnings, it is fine and just let the bullets fly.

from queryinst.

JialianW avatar JialianW commented on July 17, 2024

Thanks. For the learning rate, do we need to change two times smaller when using 4 GPUs? The default learning rate is for 8 GPUs?

from queryinst.

vealocia avatar vealocia commented on July 17, 2024

@JialianW For learning rate adjustment, please follow the Linear Scaling Rule: smaller batch size with smaller learning rate, vice versa.

from queryinst.

JialianW avatar JialianW commented on July 17, 2024

Thank you! It helps a lot!

from queryinst.

Yuxin-CV avatar Yuxin-CV commented on July 17, 2024

This issue won't be closed until the training logs are released.

from queryinst.

Yuxin-CV avatar Yuxin-CV commented on July 17, 2024

QueryInst is now officially included by mmdetection library, with new checkpoints, corresponding logs, and augmented training settings.

https://github.com/open-mmlab/mmdetection/blob/master/configs/queryinst/README.md

from queryinst.

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.