removing to add common install script

pull/10/head^2
kritiksoman 4 years ago committed by GitHub
parent 8cbc135af9
commit 9a9a4acaf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,36 +0,0 @@
if [ ! -d "gimpenv" ]; then
echo "\n-----------Installing GIMP-ML-----------\n"
if [[ $(lsb_release -rs) == "18.04" ]]; then
sudo apt install python-minimal
#Copy your files here
elif [[ $(lsb_release -rs) == "20.04" ]]; then
sudo apt install python2-minimal
wget https://bootstrap.pypa.io/get-pip.py
python2 get-pip.py
fi
python2 -m pip install --user virtualenv
python2 -m virtualenv gimpenv
source gimpenv/bin/activate
python2 -m pip install torchvision
python2 -m pip install opencv-python
python2 -m pip install numpy
python2 -m pip install future
python2 -m pip install torch
python2 -m pip install scipy
python2 -m pip install typing
python2 -m pip install enum
python2 -m pip install pretrainedmodels
deactivate
echo "\n-----------Installed GIMP-ML------------\n"
else
echo "Environment already setup!"
fi
Loading…
Cancel
Save