1. 02 Nov, 2021 1 commit
  2. 08 Sep, 2021 1 commit
  3. 07 Sep, 2021 1 commit
    • young's avatar
      [Fix] Restrict the warning message (#1267) · 99088c81
      young authored
      * restrict the warning message
      
      * and an important keyword in warning description
      
      * a more elegant way of condition
      
      * link format code too long
      
      * fix the stupid spelling mistake
      
      * Use issubclass to restrict warning message.
      
      * maybe this version is more elegant.
      
      * conv + bias + norm warning pytest
      
      * 'created' a warning, hahaha
      
      * isort and yapf format revision
      
      * isort and yapf format revision
      
      * flake8 fail issue
      
      * I have to right this way in order to solve the conflicts between yapf and flake8, sigh...
      
      * fixed test bug
      
      * Add ruby windows installer source.
      
      * Simplified the code and remove ruby source from CONTRIBUTING.md
      
      * use _BatchNorm to simplify the code
      
      * bug fix and add instanceNorm case into warning
      
      * change the warning message to make it more clear
      
      * fix unit test
      99088c81
  4. 08 Aug, 2021 1 commit
  5. 24 Jun, 2021 1 commit
  6. 11 Jun, 2021 1 commit
    • Shilong Zhang's avatar
      Refactor the baseclass related to transformer (#978) · e05fb560
      Shilong Zhang authored
      
      
      * minor changes
      
      * change to modulist
      
      * change to Sequential
      
      * replace dropout with attn_drop and proj_drop in MultiheadAttention
      
      * add operation_name for attn
      
      * add drop path and move all ffn args to ffncfgs
      
      * fix typo
      
      * fix a bug when use default value of ffn_cfgs
      
      * fix ffns
      
      * add deprecate warning
      
      * fix deprecate warning
      
      * change to pop kwargs
      
      * support register FFN of transformer
      
      * support batch first
      
      * fix batch first wapper
      
      * fix forward wapper
      
      * fix typo
      
      * fix lint
      
      * add unitest for transformer
      
      * fix unitest
      
      * fix equal
      
      * use allclose
      
      * fix comments
      
      * fix comments
      
      * change configdict to dict
      
      * move drop to a file
      
      * add comments for drop path
      
      * add noqa 501
      
      * move bnc wapper to MultiheadAttention
      
      * move bnc wapper to MultiheadAttention
      
      * use dep warning
      
      * resolve comments
      
      * add unitest:
      
      * rename residual to identity
      
      * revert runner
      
      * msda residual to identity
      
      * rename inp_identity to identity
      
      * fix name
      
      * fix transformer
      
      * remove key in msda
      
      * remove assert for key
      Co-authored-by: default avatarHIT-cwh <2892770585@qq.com>
      Co-authored-by: default avatarbkhuang <congee524@gmail.com>
      Co-authored-by: default avatarWenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
      e05fb560
  7. 01 Jun, 2021 1 commit
  8. 23 May, 2021 2 commits
    • Zaida Zhou's avatar
      [Feature] Add truncated normal weight init (#935) · 55b4847a
      Zaida Zhou authored
      * [Feature] Add truncated normal weight init
      
      * [Feature] Add truncated normal weight init
      
      * [Feature] Add truncated normal weight init
      
      * update docstring
      
      * delete modelA.pth
      
      * modify according to comment
      
      * use kstest to check truncated normal
      
      * delete modelA.pth
      
      * fix test.txt
      55b4847a
    • Guangchen Lin's avatar
      [Fix] fix generalized attention fp16 (#1036) · 5be95934
      Guangchen Lin authored
      * fix generalized attention fp16
      
      * fix building without gpu error
      
      * add comment
      
      * Cast tensor at initialization
      5be95934
  9. 12 Apr, 2021 1 commit
  10. 10 Apr, 2021 1 commit
    • Jerry Jiarui XU's avatar
      add model registry (#760) · 375605fb
      Jerry Jiarui XU authored
      * add model registry
      
      * fixed infer scoep
      
      * fixed build func
      
      * add docstring
      
      * add md
      
      * support multi level
      
      * clean comments
      
      * add docs
      
      * fixed parent
      
      * add more doc
      
      * add value error, add docstring
      
      * fixed docs
      
      * change to local/global search
      
      * resolve comments
      
      * fixed test
      
      * update some docstring
      
      * update docs (minior)
      
      * update docs
      
      * update docs
      375605fb
  11. 26 Mar, 2021 1 commit
  12. 24 Mar, 2021 1 commit
  13. 20 Mar, 2021 1 commit
  14. 19 Mar, 2021 1 commit
  15. 07 Feb, 2021 1 commit
    • Miao Zheng's avatar
      add initializers and BaseModule for unified parameter initialization (#780) · a4c37026
      Miao Zheng authored
      * add initializers and BaseModule for unified parameter initialization
      
      * fix circle import
      
      * bug fix
      
      * add is_init flag in BaseModule
      
      * fix docstring
      
      * sort import and fix doc format
      
      * fix bug
      
      * fix docformat and double quote string
      
      * fix import sort
      
      * import sort
      
      * sort import
      
      * revise according to comments
      
      * fix doc format
      
      * revise according to comments
      
      * revise import and fix typo
      
      * polish code
      
      * revise minors
      
      * revice minors
      
      * revise apply function
      
      * revise bias initialization with probability
      
      * add type test for bias_prob
      
      * revise minors
      a4c37026
  16. 24 Dec, 2020 1 commit
  17. 22 Dec, 2020 1 commit
  18. 09 Dec, 2020 1 commit
  19. 19 Nov, 2020 1 commit
  20. 18 Nov, 2020 2 commits
  21. 15 Nov, 2020 2 commits
  22. 31 Oct, 2020 1 commit
  23. 06 Oct, 2020 1 commit
    • Wenwei Zhang's avatar
      Fix wrappers version comparison (#602) · 005c4087
      Wenwei Zhang authored
      * add version check in wrappers
      
      * fix assersion
      
      * use digital version for version comparison
      
      * fix unit tests
      
      * reformat
      
      * fall back to compare the first two version
      
      * fix unittest
      
      * fix unittest
      
      * fix unit test
      
      * clean unnecessary change
      005c4087
  24. 27 Sep, 2020 1 commit
    • GT9505's avatar
      register deconv in CONV_LAYERS (#582) · acee61d7
      GT9505 authored
      * register deconv in CONV_LAYERS
      
      * use ConvTranspose2d implemented in MMCV
      
      * remove repetitive register_module
      
      * update
      
      * add unittest for deconv
      acee61d7
  25. 12 Sep, 2020 1 commit
    • Wenwei Zhang's avatar
      Mv wrappers into bricks and use wrappers in registry (#550) · c937d395
      Wenwei Zhang authored
      * Mv wrappers into bricks and use wrappers in registry
      
      * resolve import issues
      
      * fix import issues
      
      * set nn op forward to torch 1.6.1
      
      * fix CI bug and add warning
      
      * Fix CI by using patch mock
      
      * mv warnings inside deprecated module's initialization
      c937d395
  26. 09 Sep, 2020 1 commit
  27. 26 Aug, 2020 1 commit
    • Xiaojie Li's avatar
      add Swish activation (#522) · c3d8eb34
      Xiaojie Li authored
      
      
      * update impad
      
      * fix docstring
      
      * add shape for impad
      
      * fix unit test
      
      * remove old version & fix doc
      
      * fix linting
      
      * fix doc
      
      * add linear decay learning rate scheduler
      
      * fix impad
      
      * fix setup.cfg
      
      * fix linting
      
      * add yapf
      
      * add swish
      
      * fix lr_updater
      
      * fix lr_updater.py
      
      * update swish
      
      * add swish
      
      * fix inplace
      
      * fix typo
      Co-authored-by: default avatarlixiaojie <lixiaojie@sensetime.com>
      c3d8eb34
  28. 09 Aug, 2020 1 commit
  29. 17 Jul, 2020 1 commit
  30. 15 Jul, 2020 1 commit
  31. 08 Jul, 2020 1 commit
  32. 02 Jul, 2020 1 commit
  33. 28 Jun, 2020 2 commits
    • louzana's avatar
      fix bug of building ConvModule with HSigmoid using inplace=True and a… (#369) · 2c6fc5fd
      louzana authored
      * fix bug of building ConvModule with HSigmoid using inplace=True and add corresponding unittest
      
      * fix linting
      2c6fc5fd
    • zhuyuanhao's avatar
      add ext ops, support parrots (#310) · c0f5492e
      zhuyuanhao authored
      
      
      * add ext ops, support parrots
      
      * fix lint
      
      * fix lint
      
      * update op from mmdetection
      
      * support non-pytorch env
      
      * fix import bug
      
      * test not import mmcv.op
      
      * rename mmcv.op to mmcv.ops
      
      * fix compile warning
      
      * 1. fix syncbn warning in pytorch 1.5
      2. support only cpu compile
      3. add point_sample from mmdet
      
      * fix text bug
      
      * update docstrings
      
      * fix line endings
      
      * minor updates
      
      * remove non_local from ops
      
      * bug fix for nonlocal2d
      
      * rename ops_ext to _ext and _ext to _flow_warp_ext
      
      * update the doc
      
      * try clang-format github action
      
      * fix github action
      
      * add ops to api.rst
      
      * fix cpp format
      
      * fix clang format issues
      
      * remove .clang-format
      Co-authored-by: default avatarKai Chen <chenkaidev@gmail.com>
      c0f5492e
  34. 26 Jun, 2020 1 commit
    • Jintao Lin's avatar
      Add utils to calculate model complexity and adjust folder structure for mmcv/cnn/utils . (#366) · 9bc0b96d
      Jintao Lin authored
      * Add utils to calculate model complexity info
      
      * remove _InstanceNorm in unittest
      
      * add docstring and increase unittest coverage
      
      * fix deconv_flops_counter_hook to accept different data shape
      
      * test when model is not a common instance
      
      * put flops_counter.py and weight_init.py into mmcv/cnn/utils folder
      
      * fix import name
      
      * reformat some docstrings
      
      * update the scripts with latest one and remove redundant codes
      
      * directly represent a model without string and eval()
      
      * reformat code
      9bc0b96d
  35. 19 Jun, 2020 1 commit
    • louzana's avatar
      add hswish and hsigmoid (#358) · fef7b2fe
      louzana authored
      * add hswish and hsigmoid
      
      * fix linting
      
      * fix linting
      
      * delete useless staticmethod in cnn/bricks/hsigmoid.py
      
      * forward(x) ==> forward(seld, x)
      
      * add unittests for hsigmoid and hswish
      
      * use torch.equal instead of numpy.equal
      fef7b2fe
  36. 18 Jun, 2020 1 commit
    • Jintao Lin's avatar
      Add `_NonLocalNd` module (#331) · dcc20f3a
      Jintao Lin authored
      * add non_local module
      
      * rewrite non local module comments
      
      * perfect docstring and adjust init function
      
      * not to init norm layer
      
      * Correct initialize when there is a norm
      
      * set normal method for both embedded_gaussian and dot_product
      dcc20f3a