Open aimanmutasem opened 3 years ago
Could you try to update torchtext to 0.8.0 and torch to 1.7.0?
Thank you for your valuable feedback.
My conda version is 10.0
, I have downgrade to 1.3.0, the new problem that I had is I can't call torch.
ImportError: No module named torch
[aiman@ibm-game-center ~]$ pip freeze | grep torch
torch==1.3.1+cu100
torch-cluster==1.3.0
torch-geometric==1.2.0
torch-scatter==1.2.0
torch-sparse==0.4.0
torchtext==0.8.0
torchvision==0.4.2+cu100
[aiman@ibm-game-center ~]$ python
Python 2.7.5 (default, Apr 2 2020, 13:16:51)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import torch Traceback (most recent call last): File "
", line 1, in ImportError: No module named torch `
Any suggestions?
You may want to have a "fresh" install. torch==1.3.1+cu100
is not compatible with torchtext==0.8.0
and torchvision==0.4.2+cu100
.
Dear Mr. @zhangguanheng66 Thank you for your valuable comment.
I have Cuda version 10.0
and I can't upgrade to upper versions (I don't have administrator access).
Torch versions (1.2.0, 1.3.0, 1.3.1, and 1.4.0
) gives me a segmentation fault
error when load data. The possible solution is to update Pytorch to 1.5.0
but I can't because of my Cuda version 10.0
.
When I tried to install Pytorch using pip
I got a No model named torch
error.
My questions are:
segmentation fault issue
with versions below 1.4.0?No model named torch
error when I use pip
to install Pytorch?Kind regards, Aiman
Helo dears,
I'm trying to load pre-training mode as bellow code:
I get an unusual error like :
I have update
torchtext
andconda
but still not fix.The environment as bellow:
Any suggestions to fix this issue?