MrBlankness / LightM-UNet

Pytorch implementation of "LightM-UNet: Mamba Assists in Lightweight UNet for Medical Image Segmentation"
https://arxiv.org/abs/2403.05246
Apache License 2.0
299 stars 26 forks source link

请问论文里的FLOPs是用什么函数或者库计算的呀 #9

Closed LIU-YUXI closed 7 months ago

LIU-YUXI commented 8 months ago

请问论文里的FLOPs是用什么函数或者库计算的呀,是只计算了前向传播的FLOPs吗?谢谢~

MrBlankness commented 7 months ago

请问论文里的FLOPs是用什么函数或者库计算的呀,是只计算了前向传播的FLOPs吗?谢谢~

We use the thop library to compute the FLOPs of the model. Yes, we only calculate the FLOPs for the forward pass.

LIU-YUXI commented 7 months ago

好的 非常感谢!