|
|
|
@ -2,10 +2,6 @@
|
|
|
|
|
# get local dependencies
|
|
|
|
|
git submodule init
|
|
|
|
|
git submodule update --remote
|
|
|
|
|
# setup venv
|
|
|
|
|
python3 -m venv venv
|
|
|
|
|
source ./venv/bin/activate
|
|
|
|
|
python3 -m pip install --upgrade pip # just to be safe
|
|
|
|
|
# CUDA
|
|
|
|
|
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
|
|
|
|
|
# install requirements
|
|
|
|
@ -15,6 +11,4 @@ python3 -m pip install -r ./modules/dlas/requirements.txt # instal DLAS requirem
|
|
|
|
|
python3 -m pip install -e ./modules/dlas/ # install DLAS
|
|
|
|
|
python3 -m pip install -r ./requirements.txt # install local requirements
|
|
|
|
|
|
|
|
|
|
rm *.bat
|
|
|
|
|
|
|
|
|
|
deactivate
|
|
|
|
|
rm *.bat
|