from thop import clever_format, profile
错误:
解决方案:
尝试使用pip install/conda install无法解析域名等问题层出不穷
1.下载thop包:https://github.com/Lyken17/pytorch-OpCounter
2.激活自己的虚拟环境,cd到下载的路径下面
3.运行
python setup.py install
成功!!!
撒花
from thop import clever_format, profile
错误:
解决方案:
尝试使用pip install/conda install无法解析域名等问题层出不穷
1.下载thop包:https://github.com/Lyken17/pytorch-OpCounter
2.激活自己的虚拟环境,cd到下载的路径下面
3.运行
python setup.py install
成功!!!
撒花