Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add segformer decode head and related train config #599

Merged
merged 121 commits into from
Aug 13, 2021

Commits on Jun 9, 2021

  1. [Feature]Segformer re-implementation

    sennnnn committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    b56ceb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a54664 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. Split this PR into several little PRs

    sennnnn committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    0d60aeb View commit details
    Browse the repository at this point in the history
  2. Fix lint error

    sennnnn committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    c2b0ffd View commit details
    Browse the repository at this point in the history
  3. Remove SegFormerHead

    sennnnn committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    c7e676e View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Configuration menu
    Copy the full SHA
    e7ec3da View commit details
    Browse the repository at this point in the history
  2. Add ade20K trainval support for segformer

    1. Add related train and val configs;
    
    2. Add AlignedResize;
    sennnnn committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    d27552f View commit details
    Browse the repository at this point in the history
  3. Set arg: find_unused_parameters = True

    sennnnn committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e94d6d9 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Merge Master

    sennnnn committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    237bc9e View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. parameters init refactor

    sennnnn committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    9edbddd View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2021

  1. 1. Refactor segformer backbone parameters init;

    2. Remove rebundant functions and unit tests;
    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    99d7308 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into segformer

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    02b09bf View commit details
    Browse the repository at this point in the history
  3. Remove rebundant codes

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    3373827 View commit details
    Browse the repository at this point in the history
  4. Replace Linear Layer to 1X1 Conv

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    a6b02ee View commit details
    Browse the repository at this point in the history
  5. Use nn.ModuleList to refactor segformer head.

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    6365d16 View commit details
    Browse the repository at this point in the history
  6. Merge Master

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    f1b6615 View commit details
    Browse the repository at this point in the history
  7. Remove local to_xtuple

    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    7e12d7c View commit details
    Browse the repository at this point in the history
  8. 1. Remove rebundant codes;

    2. Modify module name;
    sennnnn committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    d967a9f View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    47326de View commit details
    Browse the repository at this point in the history
  2. Fix some code logic bugs.

    sennnnn committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    589af69 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    28099de View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. Configuration menu
    Copy the full SHA
    ebcc3b1 View commit details
    Browse the repository at this point in the history
  2. Merge Master

    sennnnn committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    0f42462 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Merge Master

    sennnnn committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    e3b7157 View commit details
    Browse the repository at this point in the history
  2. Resolve some comments.

    sennnnn committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    a2110ae View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. 1. Add some assert to ensure right params;

    2. Support flexible peconv position;
    sennnnn committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    8b7ca03 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into segformer

    sennnnn committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    754789a View commit details
    Browse the repository at this point in the history
  3. Add pe_index assert and fix unit test.

    sennnnn committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    e137df3 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. 1. Add doc string for MixVisionTransformer;

    2. Add some unit tests for MixVisionTransformer;
    sennnnn committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    b4ae0b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. Use hw_shape to pass shape of feature map.

    sennnnn committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    38f7bbe View commit details
    Browse the repository at this point in the history
  2. 1. Fix doc string of MixVisionTransformer;

    2. Simplify MixFFN;
    
    3. Modify H, W to hw_shape;
    sennnnn committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    443438f View commit details
    Browse the repository at this point in the history
  3. Add more unit tests.

    sennnnn committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    1affeb6 View commit details
    Browse the repository at this point in the history
  4. Add doc string for shape convertion functions.

    sennnnn committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    e969496 View commit details
    Browse the repository at this point in the history
  5. Add some unit tests to improve code coverage.

    sennnnn committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    582939b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Merge segformer backbone.

    sennnnn committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    9e06174 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5acfe8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'segformer' into segformer_trainval

    sennnnn committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    403db24 View commit details
    Browse the repository at this point in the history
  4. Modify configs of segformer.

    sennnnn committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    af8f309 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    71df617 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'segformer' into segformer_trainval

    sennnnn committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    f591d95 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'master' of github.com:open-mmlab/mmsegmentation into se…

    …gformer
    sennnnn committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    5ac60d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Add pad_to_patch_size arg.

    sennnnn committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    38b2db8 View commit details
    Browse the repository at this point in the history
  2. Support progressive test with fewer memory cost.

    sennnnn committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    f3aaecc View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Modify default value of pad_to_patch_size arg.

    sennnnn committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    e7039ff View commit details
    Browse the repository at this point in the history
  2. Merge branch 'segformer' into segformer_trainval

    sennnnn committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    deafe51 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Temp code

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    7c944cf View commit details
    Browse the repository at this point in the history
  2. Using processor to refactor evaluation workflow.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    3a97df6 View commit details
    Browse the repository at this point in the history
  3. refactor eval hook.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    e6be6b4 View commit details
    Browse the repository at this point in the history
  4. Fix multi gpu bug when index out of len(dataset).

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    fdb6b49 View commit details
    Browse the repository at this point in the history
  5. Fix process bar.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    8653c96 View commit details
    Browse the repository at this point in the history
  6. Fix middle save argument.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    842bdef View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d389665 View commit details
    Browse the repository at this point in the history
  8. Modify some viriable name of eval hook.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    9349970 View commit details
    Browse the repository at this point in the history
  9. Fix some priority bugs of eval hook.

    sennnnn committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    3a3b3ec View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. Merge branch 'segformer_trainval' of github.com:sennnnn/mmsegmentatio…

    …n into segformer_trainval
    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    1ec10c7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'segformer' into segformer_trainval

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    d44968a View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into segformer_trainval

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    939bc14 View commit details
    Browse the repository at this point in the history
  4. Fix some bugs about model loading and eval hook.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    1475f80 View commit details
    Browse the repository at this point in the history
  5. Add ade20k 640x640 dataset.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    35503a9 View commit details
    Browse the repository at this point in the history
  6. Fix related segformer configs.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    ef7b2ca View commit details
    Browse the repository at this point in the history
  7. Depreciated efficient_test.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    e03ee57 View commit details
    Browse the repository at this point in the history
  8. Fix training progress blocked by eval hook.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    c3c491d View commit details
    Browse the repository at this point in the history
  9. Depreciated old test api.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    0cb97f4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1d3e271 View commit details
    Browse the repository at this point in the history
  11. Modify error patch size.

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    ba6c9ff View commit details
    Browse the repository at this point in the history
  12. Fix pretrain of mit_b0

    sennnnn committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    a631e76 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2021

  1. Fix the test api error.

    sennnnn committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    543b1ab View commit details
    Browse the repository at this point in the history
  2. Merge branch 'segformer_trainval' of github.com:sennnnn/mmsegmentatio…

    …n into segformer_trainval
    sennnnn committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    32c67e4 View commit details
    Browse the repository at this point in the history
  3. Modify dataset base config.

    sennnnn committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    d5fd29a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Fix test api error.

    sennnnn committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    25943c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Modify outer api.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    be13436 View commit details
    Browse the repository at this point in the history
  2. Build a sampler test api.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    6bb1c91 View commit details
    Browse the repository at this point in the history
  3. TODO: Refactor format_results.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    25a7475 View commit details
    Browse the repository at this point in the history
  4. Modify variable names.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    25cc8ba View commit details
    Browse the repository at this point in the history
  5. Fix num_classes bug.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    af54432 View commit details
    Browse the repository at this point in the history
  6. Fix sampler index bug.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    1b7c976 View commit details
    Browse the repository at this point in the history
  7. Fix grammaly bug.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    049b307 View commit details
    Browse the repository at this point in the history
  8. Merge new test.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    9c32a56 View commit details
    Browse the repository at this point in the history
  9. Add part of benchmark results.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    932d0a4 View commit details
    Browse the repository at this point in the history
  10. Support batch sampler.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    dc35f6d View commit details
    Browse the repository at this point in the history
  11. More readable test api.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    880fbcb View commit details
    Browse the repository at this point in the history
  12. Remove some command arg and fix eval hook bug.

    sennnnn committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    f9eda3e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Support format-only arg.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    7be603d View commit details
    Browse the repository at this point in the history
  2. Modify format_results of datasets.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    4243ea2 View commit details
    Browse the repository at this point in the history
  3. Modify tool which use test apis.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    ce44bff View commit details
    Browse the repository at this point in the history
  4. Update readme.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    ff9e5f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    74b8d0e View commit details
    Browse the repository at this point in the history
  6. Update readme of segformer.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    da179df View commit details
    Browse the repository at this point in the history
  7. Merge branch 'segformer_trainval' of github.com:sennnnn/mmsegmentatio…

    …n into segformer_trainval
    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    d4fc387 View commit details
    Browse the repository at this point in the history
  8. Updata readme of segformer.

    sennnnn committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    cb77d5d View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Update segformer readme and fix segformer mit_b4.

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    378083d View commit details
    Browse the repository at this point in the history
  2. Update readme of segformer.

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    d0a7240 View commit details
    Browse the repository at this point in the history
  3. Clean AlignedResize related config.

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    77b9850 View commit details
    Browse the repository at this point in the history
  4. Clean code from pr open-mmlab#709

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    d0d5100 View commit details
    Browse the repository at this point in the history
  5. Clean code from pr open-mmlab#709

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    9149191 View commit details
    Browse the repository at this point in the history
  6. Add 512x512 segformer_mit-b5.

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    37b493d View commit details
    Browse the repository at this point in the history
  7. Fix lint.

    sennnnn committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    5722818 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. Merge branch 'master' into segformer_trainval

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    98ce9ea View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into segformer_trainval

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    cd7eecb View commit details
    Browse the repository at this point in the history
  3. Fix some segformer head bugs.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    85cae72 View commit details
    Browse the repository at this point in the history
  4. Add segformer unit tests.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    a1fe725 View commit details
    Browse the repository at this point in the history
  5. Replace AlignedResize to ResizeToMultiple.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    5f8e7f8 View commit details
    Browse the repository at this point in the history
  6. Modify readme of segformer.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    09c1796 View commit details
    Browse the repository at this point in the history
  7. Fix bug of ResizeToMultiple.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    b9af6cf View commit details
    Browse the repository at this point in the history
  8. Add ResizeToMultiple unit tests.

    sennnnn committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    10c2d7e View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Resolve conflict.

    sennnnn committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    cbbda18 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Simplify the implementation of ResizeToMultiple.

    sennnnn committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    28b35b6 View commit details
    Browse the repository at this point in the history
  2. Update test results.

    sennnnn committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    73e09d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e44ad02 View commit details
    Browse the repository at this point in the history
  4. Update segformer results.

    sennnnn committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    029ceb4 View commit details
    Browse the repository at this point in the history
  5. Update Segformer results.

    sennnnn committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    dba7167 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Fix some url bugs and pipelines bug.

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    08df953 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into segformer_trainval

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    7d40b78 View commit details
    Browse the repository at this point in the history
  3. Merge Master.

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    01b1313 View commit details
    Browse the repository at this point in the history
  4. Move ckpt convertion to tools.

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    8273594 View commit details
    Browse the repository at this point in the history
  5. Add segformer official pretrain weights usage.

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    a40205e View commit details
    Browse the repository at this point in the history
  6. Clean redundant codes.

    sennnnn committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    d650222 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

  1. Remove redundant codes.

    sennnnn committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    97a88b0 View commit details
    Browse the repository at this point in the history
  2. Unfied format.

    sennnnn committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    4cbfb9f View commit details
    Browse the repository at this point in the history
  3. Add description for segformer converter.

    sennnnn committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    d1814c1 View commit details
    Browse the repository at this point in the history
  4. Update workers.

    sennnnn committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    920feba View commit details
    Browse the repository at this point in the history