Comments (3)
Hi, we choose MACs instead of FLOPs because it is more well defined. The computation of FLOPs has many choices to make. For instance, we need to decide how many FLOPs one division requires, one tanh requires, and one exp requires.
from torchprofile.
Yeah there are ambiguities in terms of how to deal with certain operations. Nevertheless, You may kindly just provide a verson of FLOPs stat practice of how your previous papers does it, It's been reviewed afte all. And that's the absolute mainstream metric of computational cost in the academic world.
from torchprofile.
Yeah there are ambiguities in terms of how to deal with certain operations. Nevertheless, You may kindly just provide a verson of FLOPs stat practice of how your previous papers does it, It's been reviewed afte all. And that's the absolute mainstream metric of computational cost in the academic world.
Yes, actually I was wondering the same thing. Also, I wonder if we use a FLOPs computation tool(parameters all defined by users) to compare the performance of different models(e.g. resnet, vgg...), would that affect the result? I personally don't think so because the evaluation metrics are the same. (Please correct me if I'm wrong cuz I'm really new to this area)
So in that case, the accuracy of the FLOPs computation wouldn't be a problem?
from torchprofile.
Related Issues (18)
- Unused operations seem to be included in FLOPS calculation HOT 8
- the result of macs is not accurate HOT 2
- No handlers found!! HOT 2
- No handlers found "prim::pythonop" and "prim::tupleunpack" HOT 1
- How to set the "args = " , when it comes to transformer or MobileBERT? HOT 1
- No handlers found: "aten::linear". Skipped. HOT 3
- No handlers found: "aten::einsum" HOT 4
- No handlers found:"aten::pow"
- No handlers found HOT 1
- No handlers found
- No handlers found: "torchvision::roi_align". Skipped HOT 2
- No handlers found: "aten::zeros" and "aten::lstm" Skipped. HOT 4
- profile_macs error at PyTorch 1.4 HOT 2
- missing handlers: aten::squeeze, aten::rsub HOT 1
- Negative MACs HOT 7
- Handlers not found! HOT 1
- Is there a way to get not only the MACs count, but also the model's output? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchprofile.