Open 20231211 opened 4 months ago
I want to get FLOPs for my model, using the profile of the thop library, but the number of model parameters obtained from the thop library is smaller than n_parameters, why is that?
FLOPs the number ofmodel parameters 这俩没啥关系吧?
FLOPs
the number ofmodel parameters
@lyuwenyu 是flops,params=profile(self.model,inputs=(img,))获得的params小于代码中的n_parameters,不太明白这是为什么
I want to get FLOPs for my model, using the profile of the thop library, but the number of model parameters obtained from the thop library is smaller than n_parameters, why is that?