1. 08 Aug, 2021 1 commit
  2. 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
  3. 18 Nov, 2020 1 commit
  4. 15 Nov, 2020 2 commits
  5. 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
  6. 09 Sep, 2020 1 commit
  7. 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
  8. 09 Aug, 2020 1 commit
  9. 08 Jul, 2020 1 commit
    • Cao Yuhang's avatar
      Migrate op (#392) · d5cbf7ee
      Cao Yuhang authored
      * migrate op
      
      * migrate unittest
      
      * update build no torch
      
      * add back use_torch_vision for roi align
      
      * fix type and unit test
      
      * ignore test logging when no torch
      
      * fix no torch ci test
      
      * skip test registry
      
      * remove coverage report when no torch
      
      * fix mac ci order
      
      * install latest pillow when no torch
      
      * mv convws to brisk
      d5cbf7ee
  10. 02 Jul, 2020 1 commit
  11. 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
  12. 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
  13. 08 May, 2020 1 commit
  14. 30 Apr, 2020 1 commit