安装torchnet

github上给出了安装方法:https://github.com/pytorch/tnt#installation
现在安装torchnet已经很简单了,使用pip命令安装即可,不需要再下载解压那么麻烦。

pip install torchnet

or

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

如果需要在anaconda版本的python里安装,只需要在cmd里进入相对应环境即可

activate tf2x

你可能感兴趣的:(其他,pytorch,深度学习,python)