直接就pip install git上代码
pip install git+https://github.com/pytorch/tnt.git@master
如果报以下错误
pip install git+https://github.com/pytorch/tnt.git@master -i https://pypi.tuna.tsinghua.edu.cn/simple/
或者配合科学上网
最后
以上就是潇洒曲奇最近收集整理的关于import torchnet 报错的全部内容,更多相关import内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复