Motivation
The current get_model_complexity_info API in MMCV is limited and can only calculate the OPs for specific PyTorch modules, while the Flop Counter in FVCore supports most PyTorch operators. Maybe MMCV can follow the implementation in FVCore to improve the API.
Describe the feature
Motivation The current
get_model_complexity_info
API in MMCV is limited and can only calculate the OPs for specific PyTorch modules, while the Flop Counter in FVCore supports most PyTorch operators. Maybe MMCV can follow the implementation in FVCore to improve the API.Related resources FVCore API