https://github.com/kentaroy47/computation-calculator.pytorch
Calculate the number of computation (MACs) you need for a given CNN.
https://github.com/kentaroy47/computation-calculator.pytorch
calculate cnn computation mac
Last synced: 7 months ago
JSON representation
Calculate the number of computation (MACs) you need for a given CNN.
- Host: GitHub
- URL: https://github.com/kentaroy47/computation-calculator.pytorch
- Owner: kentaroy47
- Created: 2019-01-23T23:51:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T23:52:38.000Z (over 6 years ago)
- Last Synced: 2025-01-20T23:52:52.323Z (9 months ago)
- Topics: calculate, cnn, computation, mac
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# computation-calculator.pytorch
Calculate the number of computation (MACs) you need for a given CNN.## what you need.
model.py..define your CNN model.## run
python calculate-mac.py## example
model.py has resnet18 inside.