torchnet安装解决from torchnet.meter import ClassErrorMeter错误问题(cbam.pytorch执行问题)

torchnet安装

安装git

apt install git

行命令:

   pip install git+https://github.com/pytorch/tnt.git@master
   pip install --upgrade git+https://github.com/pytorch/tnt.git@master

猜你喜欢

转载自blog.csdn.net/gdengden/article/details/101599935