Closed xiaojieli0903 closed 7 months ago
@xiaojieli0903 Hi, the script for calculating the FLOPs and parameters is uploaded(get_flops_backbone.py). You can use it as follows:
cd Vision-RWKV/classification
python get_flops_backbone.py configs/vrwkv/vrwkv_tiny_8xb128_in1k.py
@duanduanduanyuchen
Thank you for providing the tool. I have successfully tested it.
Hello,
Could you provide a method to calculate the FLOPs and parameters for the vision-rwkv model? I have attempted to use the
get_flops
tool from mmpretrain, but encountered the following error:Any help or guidance on how to resolve this would be greatly appreciated.
Thank you!