PyTorch Installation & VSCode setup | PyTorch Tutorial for Beginners 2023

preview_player
Показать описание
Learn how to install PyTorch with pyenv and pip on Linux (Ubuntu).

00:00 - PyTorch
01:10 - virtualenv with pyenv
03:00 - Project directory
04:00 - Install helper libraries
04:25 - Setup VSCode
06:58 - Install PyTorch
08:20 - Test PyTorch installation

Commands used:

pyenv install 3.10.9
pyenv virtualenv 3.10.9 learn-pytorch
pip install black isort flake8

#pytorch #python #vscode #deeplearning #tutorial #course
Рекомендации по теме
Комментарии
Автор

got an error "ImportError: libffi.so.7: cannot open shared object file: No such file or directory" when using the pyenv python. I tried switching to the system default python version (in my case it was 3.11.3) and the error disappeared.

kunai
Автор

Pytorch is not for production. Please make video on torchserve with custom handler eager mode.

potdish