7 lines
236 B
Bash
7 lines
236 B
Bash
|
python -m venv venv
|
||
|
source ./venv/bin/activate
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
|
||
|
python -m pip install -r ./requirements.txt
|
||
|
deactivate
|