[resolved] PySlice_AdjustIndices Error
I am using python 3.6 on Ubuntu 16.04. I have just updated pytorch via conda. But, I got an following error when torch was imported. Please help me how to solve this problem.
Seungyoung_Park
this makes no sense yet, because python 3.6 should be having that. Let’s try to figure this out. Can you please paste your output of the following command: <SCODE>ldd /home/sypark/anaconda3/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so
<ECODE>
smth
He had the same problem. The output is below.
Seungyoung_Park
it would help me if you gave the output of the command: <SCODE>python --version
<ECODE> Thanks.
smth
My python version is below. <SCODE>Python 3.6.0 :: Anaconda 4.3.1 (64-bit)
<ECODE> Also, I updated pytorch by the command as <SCODE>conda update pytorch torchvision -c soumith
<ECODE> Thanks.
Seungyoung_Park
this is helpful, thank you. I’ll try to fix this error by tomorrow in the new binaries.
smth
Thanks for your help!!
Seungyoung_Park
smth
I will check it. Thanks for your help.
Seungyoung_Park
Thanks.
Seungyoung_Park
what is your application? is your code available somewhere to look?
smth
My application is Inception-resnetv2 based autoencoder. I would like to share my code to solve this problem, but I am not allowed to do this by the company for a while. I will post the github address if I am allowed. Sorry.
Seungyoung_Park
So what shoud i do then? How can I solve this?
mderakhshani
leegang
smth
conda install pytorch torchvision cuda80 -c soumith @smth
leegang
that is weird. what is your output of: <SCODE>python --version
<ECODE>
smth
leegang
<SCODE>conda uninstall pytorch
conda install pytorch -c soumith
<ECODE>
smth
<SCODE>[ec2-user@ip-172-31-40-200 Notebooks]$ conda install pytorch -c soumith
Fetching package metadata .....
......
Solving package specifications: .

Package plan for installation in environment /home/ec2-user/anaconda3:

The following NEW packages will be INSTALLED:

    pytorch: 0.1.11-py360_4cu80 soumith [cuda80]

Proceed ([y]/n)?
y

ec2-user@ip-172-31-40-200 Notebooks]$ conda list | grep pytorch
    pytorch                   0.1.11              py360_4cu80  [cuda80]  soumith<ECODE>
leegang