An attempt to assist photo editing tasks using Deep Learning techniques.
- Python3
apt-get install python3.7-dev- python3.7-pip
sudo apt-get install python3-pip
python3.7 -m pip install pip- Pytorch
sudo -H python3.7 -m pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.htmlFor GPU or other version: https://pytorch.org/get-started/locally/
- FastAI
python3.7 -m pip install --user fastai- Pillow-5.1.0
python3.7 -m pip install --user -U Pillow- OpenCV-4.1.1.26
python3.7 -m pip install --user opencv-python- Jupyter
python3.7 -m pip install --user jupyterlab
sudo apt install jupyter-notebookDownload trained models (bash from .git directory)
cd models
sh ./download_models.sh
cd ..Example:
python3.7 main.py --image img.pngCLI Arguments:
- '--image' : Filename of input image located at img_input directory