Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update torch to 1.11.0 #13

Open
AlanACruz opened this issue Mar 20, 2022 · 0 comments
Open

Update torch to 1.11.0 #13

AlanACruz opened this issue Mar 20, 2022 · 0 comments

Comments

@AlanACruz
Copy link

python:latest does not support the old version of torch

`
docker run -it --rm -v ~/git:/root/git/:Z python:latest /bin/bash

root@d90a2e105924:~/git/AIPND-revision# pip3 install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from versions: 1.11.0)
ERROR: No matching distribution found for torch==1.4.0

root@d90a2e105924:~/git/AIPND-revision# pip3 install -r requirements.txt
Collecting torch==1.11.0
Downloading torch-1.11.0-cp310-cp310-manylinux1_x86_64.whl (750.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 750.6/750.6 MB 1.2 MB/s eta 0:00:00
Collecting Pillow==7.1.2
Downloading Pillow-7.1.2.tar.gz (38.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.9/38.9 MB 13.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting torchvision==0.2.1
Downloading torchvision-0.2.1-py2.py3-none-any.whl (54 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.6/54.6 KB 215.6 kB/s eta 0:00:00
Collecting typing-extensions
Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting numpy
Downloading numpy-1.22.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 20.2 MB/s eta 0:00:00
Building wheels for collected packages: Pillow
Building wheel for Pillow (setup.py) ... done
Created wheel for Pillow: filename=Pillow-7.1.2-cp310-cp310-linux_x86_64.whl size=1343757 sha256=404372c7f771cb6ea297747b743216bbaaa67bb7136cf3d46d6072f66325d91d
Stored in directory: /root/.cache/pip/wheels/b1/33/ce/d1c30cb9fc3ba1b8e60a01d4f49e35a1e65b6911bd3722e3e9
Successfully built Pillow
Installing collected packages: typing-extensions, six, Pillow, numpy, torch, torchvision
Successfully installed Pillow-7.1.2 numpy-1.22.3 six-1.16.0 torch-1.11.0 torchvision-0.2.1 typing-extensions-4.1.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv`

@AlanACruz AlanACruz changed the title Update to torch to 1.11.0 Update torch to 1.11.0 Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant