镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

adding support for adaBelief optimizer #19950

Open

Description

@brightening-eyes

Description

this optimizer is like adam, but has some differences like adapting the step size in update direction

References

here is the reference to paper
GitHub repository

Activity

  1. TristonC commented on Feb 25, 2021

    @TristonC
    Contributor

    @brightening-eyes It seems a small change from Adam optimizer, while the test part is most of the work. Would you like to make a contribution?

  2. brightening-eyes commented on Feb 26, 2021

    @brightening-eyes
    Author

    @TristonC i would, but I don't know how optimizers are implimented in MXNet. (I don't know about create_state etc).
    if anyone tells me how I can go about it, I would be more than glad to do it.

  3. TristonC commented on Feb 27, 2021

    @TristonC
    Contributor

    Can it just be done in the python file first?

  4. brightening-eyes commented on Feb 28, 2021

    @brightening-eyes
    Author

    yes it can
    as far as I know, you should subclass the optimizer, but I don't know how I can go with the states and optimizer parameters.

  5. khaotik commented on Mar 5, 2021

    @khaotik
    Contributor

    @TristonC Hello, first time contributor to MXNet here. I'm working on a PR for this. Here's my branch. It's mostly a copycat of src/operator/contrib/adamw*. I'm still working on test cases.

    Question: Shall I send PR as is, or perhaps perform some code refactoring? I find rather high amount of code duplication upon working on this PR. Same goes for Adam-like optimizers such as STES, #18486. It might be good idea to generalize common parts of Adam-like optimizers.

  6. TristonC commented on Mar 5, 2021

    @TristonC
    Contributor

    @khaotik Thanks for contributing to the MXNet community.

    For your question, either-way works for your first PR. We will have someone take a look at the change to see if the factory is needed to be done now.

    @sandeep-krishnamurthy Do you have someone to help with the code review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions