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
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐