mirror of https://github.com/kritiksoman/GIMP-ML
removing to add common install script
parent
8cbc135af9
commit
9a9a4acaf7
@ -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…
Reference in New Issue