Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

How to get the FLOPs of a model #20

Open
zheng-ningxin opened this issue Jun 4, 2020 · 2 comments
Open

How to get the FLOPs of a model #20

zheng-ningxin opened this issue Jun 4, 2020 · 2 comments

Comments

@zheng-ningxin
Copy link

Hi~
Is there any way to get the FLOPs of an existing model in the search space?
Thanks~

@AlbertiPot
Copy link

Yes, the FLOPs are vital properties for DNN. Is there any function to help to calculate the subnets` FLOPs

@ngctnnnn
Copy link

In NasBench201, the authors have proposed this tool to measure the FLOPs from a constructed model that is found in the Bench.
https://github.com/D-X-Y/AutoDL-Projects/blob/d04edcd211604e3bb3e682ba5606c0c0c5e991ce/xautodl/utils/flop_benchmark.py

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants