今天在运行network in network程序的时候,出现了下面的错误:

Traceback (most recent call last):
File "load_premodel.py", line 7, in <module>
from torchsummary import summary
ModuleNotFoundError: No module named 'torchsummary'

解决方法

pip install torchsummary

参考文献

​[已解决]No module named ‘torchsummary‘​