thop · PyPI
pypi.org › project › thopMay 24, 2020 · THOP: PyTorch-OpCounter How to install. pip install thop (now continously intergrated on Github actions) OR. pip install --upgrade git+https://github.com/Lyken17/pytorch-OpCounter.git. How to use. Basic usage. from torchvision.models import resnet50 from thop import profile model = resnet50 input = torch. randn (1, 3, 224, 224) macs, params = profile (model, inputs = (input,))
Installation — conda 4.11.0.post8+f60f0f16 documentation
docs.conda.io › user-guide › installInstalling conda on a system that has other Python installations or packages. The fastest way to obtain conda is to install Miniconda, a mini version of Anaconda that includes only conda and its dependencies. If you prefer to have conda plus over 7,500 open-source packages, install Anaconda. We recommend you install Anaconda for the local user, which does not require administrator permissions and is the most robust type of installation.
thop · PyPI
https://pypi.org/project/thop24.05.2020 · Nov 17, 2018. Download files. Download the file for your platform. If you're not sure which to choose, learn more about installing packages. Files for thop, version 0.0.31-2005241907. Filename, size. File type. Python version. Upload date.