flops-counter.pytorch icon indicating copy to clipboard operation
flops-counter.pytorch copied to clipboard

Flops counter for convolutional networks in pytorch framework

Results 38 flops-counter.pytorch issues
Sort by recently updated
recently updated
newest added

Hi, This is a great repo! :-) But can you add functionality to compute the addition count and multiplication count separately? Thanks!

enhancement

It would be nice to have a dictionary containing each layer/operations' GMac and Params that would be useful to plot and be able to see network bottlenecks.

Hi, first of all thank you so much, that's a really helpful repo! I'm now working with some pretrained BERT models, so I'm wondering if this flop_counter works for all...

question

When installing using pip with python 3.7, the following error occurs: ``` ERROR: Package 'dataclasses' requires a different Python: 3.7.9 not in '>=3.6,

question

How to compute FLOPS for LSTM model for skeleton data (NTU-RGBD)? Error is due to input_res parameter as for skeleton data what should be this value.

incomplete

I really appreciate this flops counter. Would you guys plan to support the calculation with FP16?

question

This tool is very useful, but there is still a lack of functionality in the benchmark. 1. layer or topology mode. layer mode: enable loop for each layer to estimate...

enhancement

Hi, I have a training script with structure as : model=Net() flops, params = get_model_complexity_info(model, (3, 256, 256), as_strings=True, print_per_layer_stat=True) print('Flops: ' + flops) print('Params: ' + params) training torch.save(model)...

invalid