"vscode:/vscode.git/clone" did not exist on "b4e11be8ef3c4afc82a7357d51f93b336c1866a1"
  • 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
upsample.py 2.83 KB