torchtext错误“Python int too large to convert to C long”

论坛 期权论坛 编程之家     
选择匿名的用户   2021-5-29 23:40   11   0

在使用torchtext时 遇到的问题:

导致问题原因是:pytorch 与 torchtext 版本的不兼容

解决办法:使用可相互兼容的

例子:我使用的环境为pytorch 1.1.0,torchtext 0.3.1可正常使用

安装指定torchtext指定版本的方法:pip install torchtext == 0.3.1

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP