1. 30 Jun, 2022 1 commit
  2. 18 May, 2022 1 commit
  3. 09 May, 2022 1 commit
  4. 24 Feb, 2022 1 commit
  5. 18 Feb, 2022 1 commit
    • Wenhao Wu's avatar
      [Feature] Add spconv ops from mmdet3d (#1581) · c1de4c9b
      Wenhao Wu authored
      
      
      * add ops (spconv) of mmdet3d
      
      * fix typo
      
      * refactor code
      
      * resolve comments in #1452
      
      * fix compile error
      
      * fix bugs
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h'
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h' in parrots
      
      * add extension.h in pybind.cpp
      
      * add unittest
      
      * Recover code
      
      * (1) Remove prettyprint.h
      (2) Switch `T` to `scalar_t`
      (3) Remove useless lines
      (4) Refine example in docstring of sparse_modules.py
      
      * (1) rename from `cu.h` to `cuh`
      (2) remove useless files
      (3) move cpu files to `pytorch/cpu`
      
      * reorganize files
      
      * Add docstring for sparse_functional.py
      
      * use dispatcher
      
      * remove template
      
      * use dispatch in cuda ops
      
      * resolve Segmentation fault
      
      * remove useless files
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * fix unittest in test_build_layers.py
      
      * add tensorview into include_dirs when compiling
      
      * recover all deleted files
      
      * fix lint and comments
      
      * recover setup.py
      
      * replace tv::GPU as tv::TorchGPU & support device guard
      
      * fix lint
      Co-authored-by: default avatarhdc <hudingchang.vendor@sensetime.com>
      Co-authored-by: default avatargrimoire <yaoqian@sensetime.com>
      c1de4c9b
  6. 12 Feb, 2022 1 commit
  7. 28 Jan, 2022 1 commit
  8. 20 Jan, 2022 1 commit
  9. 22 Dec, 2021 1 commit
    • Jiazhen Wang's avatar
      [Fix] Fix some warnings in unittest (#1522) · fb486b96
      Jiazhen Wang authored
      * [Fix] fix some warnings in unittest
      
      * [Impl] standardize some warnings
      
      * [Fix] fix warning type in test_deprecation
      
      * [Fix] fix warning type
      
      * [Fix] continue fixing
      
      * [Fix] fix some details
      
      * [Fix] fix docstring
      
      * [Fix] del useless statement
      
      * [Fix] keep compatibility for torch < 1.5.0
      fb486b96
  10. 14 Dec, 2021 1 commit
  11. 02 Nov, 2021 1 commit
  12. 08 Sep, 2021 1 commit
  13. 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
  14. 08 Aug, 2021 1 commit
  15. 24 Jun, 2021 1 commit
  16. 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
  17. 01 Jun, 2021 1 commit
  18. 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
  19. 12 Apr, 2021 1 commit
  20. 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
  21. 26 Mar, 2021 1 commit
  22. 24 Mar, 2021 1 commit
  23. 20 Mar, 2021 1 commit
  24. 19 Mar, 2021 1 commit
  25. 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
  26. 24 Dec, 2020 1 commit
  27. 22 Dec, 2020 1 commit
  28. 09 Dec, 2020 1 commit
  29. 19 Nov, 2020 1 commit
  30. 18 Nov, 2020 2 commits
  31. 15 Nov, 2020 2 commits
  32. 31 Oct, 2020 1 commit
  33. 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
  34. 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
  35. 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
  36. 09 Sep, 2020 1 commit
  37. 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