1. 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
  2. 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
  3. 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
  4. 10 Jun, 2020 1 commit
  5. 01 Jun, 2020 1 commit
  6. 13 May, 2020 1 commit
  7. 12 May, 2020 1 commit
  8. 08 May, 2020 1 commit
  9. 05 May, 2020 1 commit
  10. 30 Apr, 2020 1 commit