Skip to content
Snippets Groups Projects
  1. Apr 29, 2022
  2. Apr 28, 2022
  3. Apr 27, 2022
    • Yuan Liu's avatar
      [Feature]: Add MAE (#1307) · 2b2d09d4
      Yuan Liu authored
      
      * [Fix]: Fix lint
      
      * [WIP]: Add mae seg config
      
      * [Feature]: Add MAE seg
      
      * [Fix]: Fix mae dataset img scale bug
      
      * [Fix]: Fix lint
      
      * [Feature]: Change mae config to mae_segmentation's config
      
      * [Feature]: Add interpolate pe when loading
      
      * [Fix]: Fix pos_embed not used bug
      
      * [Fix]: Fix lint
      
      * [Fix]: Init rel pos embed with zeros
      
      * [Fix]: Fix lint
      
      * [Fix]: Change the type name of backbone to MAE
      
      * [Fix]: Delete ade20k_512x512.py
      
      * [Fix]: Use mmseg provided ade20k.py
      
      * [Fix]: Change 1 sample per gpu to 2 samples per gpu
      
      * [Fix]: Fix conflict
      
      * [Refactor]: Use the TransformerEncoderLayer of  BEiT
      
      * [Feature]: Add UT
      
      * [Fix]: Change the default value of qv bias to False
      
      * [Fix]: Initialize relative pos table with zeros
      
      * [Fix]: Delete redundant code in mae
      
      * [Fix]: Fix lint
      
      * [Fix]: Rename qkv_bias to qv_bias
      
      * [Fix]: Add docstring to weight_init of MAEAttention
      
      * [Refactor]: Delete qv_bias param
      
      * [Fix]: Add reference to fix_init_weight
      
      * [Fix]: Fix lint
      
      * [Fix]: Delete extra crop size
      
      * [Refactor]: Rename mae
      
      * [Fix]: Set bias to True
      
      * [Fix]: Delete redundant params
      
      * [Fix]: Fix lint
      
      * [Fix]: Fix UT
      
      * [Fix]: Add resize abs pos embed
      
      * [Fix]: Fix UT
      
      * [Refactor]: Use build layer
      
      * [Fix]: Add licsense and fix docstring
      
      * [Fix]: Fix docstring
      
      * [Feature]: Add README metafile
      
      * [Fix]: Change 640 to 512
      
      * [Fix]: Fix README
      
      * fix readme of MAE
      
      Co-authored-by: default avatarMengzhangLI <mcmong@pku.edu.cn>
      2b2d09d4
    • Yuan Liu's avatar
      [Feature]: Add MAE (#1307) · 43b8a1d8
      Yuan Liu authored
      
      * [Fix]: Fix lint
      
      * [WIP]: Add mae seg config
      
      * [Feature]: Add MAE seg
      
      * [Fix]: Fix mae dataset img scale bug
      
      * [Fix]: Fix lint
      
      * [Feature]: Change mae config to mae_segmentation's config
      
      * [Feature]: Add interpolate pe when loading
      
      * [Fix]: Fix pos_embed not used bug
      
      * [Fix]: Fix lint
      
      * [Fix]: Init rel pos embed with zeros
      
      * [Fix]: Fix lint
      
      * [Fix]: Change the type name of backbone to MAE
      
      * [Fix]: Delete ade20k_512x512.py
      
      * [Fix]: Use mmseg provided ade20k.py
      
      * [Fix]: Change 1 sample per gpu to 2 samples per gpu
      
      * [Fix]: Fix conflict
      
      * [Refactor]: Use the TransformerEncoderLayer of  BEiT
      
      * [Feature]: Add UT
      
      * [Fix]: Change the default value of qv bias to False
      
      * [Fix]: Initialize relative pos table with zeros
      
      * [Fix]: Delete redundant code in mae
      
      * [Fix]: Fix lint
      
      * [Fix]: Rename qkv_bias to qv_bias
      
      * [Fix]: Add docstring to weight_init of MAEAttention
      
      * [Refactor]: Delete qv_bias param
      
      * [Fix]: Add reference to fix_init_weight
      
      * [Fix]: Fix lint
      
      * [Fix]: Delete extra crop size
      
      * [Refactor]: Rename mae
      
      * [Fix]: Set bias to True
      
      * [Fix]: Delete redundant params
      
      * [Fix]: Fix lint
      
      * [Fix]: Fix UT
      
      * [Fix]: Add resize abs pos embed
      
      * [Fix]: Fix UT
      
      * [Refactor]: Use build layer
      
      * [Fix]: Add licsense and fix docstring
      
      * [Fix]: Fix docstring
      
      * [Feature]: Add README metafile
      
      * [Fix]: Change 640 to 512
      
      * [Fix]: Fix README
      
      * fix readme of MAE
      
      Co-authored-by: default avatarMengzhangLI <mcmong@pku.edu.cn>
      43b8a1d8
    • Miao Zheng's avatar
      [Refactor] Add build_pos_embed and build_layers for BEiT (#1517) · d90e7002
      Miao Zheng authored
      * [Refactor] Add build_pos_embed and build_layers for BEiT
      
      * Update mmseg/models/backbones/beit.py
      d90e7002
    • FangjianLin's avatar
      [Refactory] Merge BEiT and ConvNext 's LR decay optimizer constructors (#1438) · 7c3bf228
      FangjianLin authored
      
      * move layer_decay_optimizer_constructor
      
      * fix
      
      * fix
      
      * merge test_core
      
      * fix
      
      * add DeprecationWarning
      
      * fix DeprecationWarning
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix ut
      
      * fix
      
      * fix
      
      * Update tests/test_core/test_layer_decay_optimizer_constructor.py
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      Co-authored-by: default avatarMeowZheng <meowzheng@outlook.com>
      Co-authored-by: default avatarMiao Zheng <76149310+MeowZheng@users.noreply.github.com>
      7c3bf228
  4. Apr 25, 2022
  5. Apr 23, 2022
  6. Apr 22, 2022
    • Mladen Fernežir's avatar
      Fix validation loss logging (#1494) · 9e17a0d3
      Mladen Fernežir authored
      9e17a0d3
    • jere357's avatar
      fixed a couple of issues that made the notebook not work in colab (#1460) · aa68bf15
      jere357 authored
      
      * fixed a couple of issues that made the notebook not work in colab
      
      i fixed a couple of issues that made the notebook not work in colab 
      1. it downloaded incompatible versions of pytorch and cuda + the conda command doesnt do anything in colab since there is no conda in colab idk w y wanna do about that - The commit of 2 days ago only changes the conda command version and not the pip command which is used while isntaling mcvv
      2. /demo.png doesnt exist in colab so i added a wget to download some cityscapes photo from the internet and run inference on that photo
      3. i think it would be optimal to have 2 notebooks. 1 for running locally when cloning your git branch and one to run in google colab.
      
      * Update demo/MMSegmentation_Tutorial.ipynb
      
      * Update demo/MMSegmentation_Tutorial.ipynb
      
      * Update demo/MMSegmentation_Tutorial.ipynb
      
      * Update demo/MMSegmentation_Tutorial.ipynb
      
      * Update demo/MMSegmentation_Tutorial.ipynb
      
      Co-authored-by: default avatarMiao Zheng <76149310+MeowZheng@users.noreply.github.com>
      aa68bf15
  7. Apr 21, 2022
  8. Apr 19, 2022
  9. Apr 16, 2022
  10. Apr 15, 2022
  11. Apr 14, 2022
  12. Apr 13, 2022
  13. Apr 12, 2022
  14. Apr 10, 2022
  15. Apr 09, 2022
  16. Apr 06, 2022
  17. Apr 05, 2022
  18. Apr 04, 2022
  19. Apr 01, 2022
  20. Mar 30, 2022
    • MengzhangLI's avatar
    • MengzhangLI's avatar
      [Fix] Add avg_non_ignore in cross entropy loss (#1409) · cc89c8d1
      MengzhangLI authored
      * [Fix] Add avg_non_ignore in cross entropy loss
      
      * [Fix] Add avg_non_ignore in cross entropy loss
      
      * add docstring
      
      * fix ut
      
      * fix docstring and comments
      
      * fix
      
      * fix bce
      
      * fix avg_factor in BCE and add more ut
      
      * add avg_non_ignore
      
      * add more ut
      
      * fix part of ut
      
      * fix part of ut
      
      * test avg_non_ignore would not affect ce/bce when reduction none/sum
      
      * test avg_non_ignore would not affect ce/bce when reduction none/sum/mean
      
      * re-organize ut
      
      * re-organize ut
      
      * re-organize ut
      
      * re-organize hardcode case
      
      * fix parts of comments
      
      * fix another parts of comments
      
      * fix
      cc89c8d1
    • FangjianLin's avatar
      [Feature] Add BEiT backbone (#1404) · d1b8eae3
      FangjianLin authored
      * [Feature] Add BEiT backbone
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * add readme
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * add link
      
      * fix memory
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix test_beit.py
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      d1b8eae3
  21. Mar 28, 2022
Loading