2020-04-27 04:32:33 +00:00
|
|
|
if [ ! -d "gimpenv" ]; then
|
|
|
|
|
|
|
|
echo "\n-----------Installing GIMP-ML-----------\n"
|
|
|
|
|
|
|
|
python -m pip install --user virtualenv
|
|
|
|
python -m virtualenv gimpenv
|
|
|
|
source gimpenv/bin/activate
|
|
|
|
pip install torchvision
|
|
|
|
pip install opencv-python
|
|
|
|
pip install numpy
|
|
|
|
pip install future
|
|
|
|
pip install torch
|
|
|
|
pip install scipy
|
|
|
|
pip install scikit-image
|
|
|
|
pip install typing
|
|
|
|
pip install enum
|
|
|
|
pip install pretrainedmodels
|
2020-05-12 05:39:18 +00:00
|
|
|
|
2020-04-27 04:32:33 +00:00
|
|
|
|
|
|
|
deactivate
|
|
|
|
|
|
|
|
echo "\n-----------Installed GIMP-ML------------\n"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "Environment already setup!"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|