Created
July 23, 2020 17:51
-
-
Save amatiasq/79218b3e2b78c86ddc5bc1b578019b3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clone repo | |
sudo apt install git | |
git clone https://github.com/ayulockin/3d-photo-inpainting.git | |
# Install python 3.7 | |
sudo apt update | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt install python3.7 | |
# Install Anaconda | |
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh | |
chmod +x Anaconda3-2020.02-Linux-x86_64.sh | |
./Anaconda3-2020.02-Linux-x86_64.sh | |
# Configure conda | |
conda create -n 3DP python=3.7 anaconda | |
conda activate 3DP | |
# Install deps | |
cd 3d-photo-inpainting | |
pip install -r requirements.txt | |
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit==10.1 | |
chmod +x download.sh | |
./download.sh | |
pip install wandb | |
# PUT PICTURES IN /image | |
# RUN | |
python main.py --config argument.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment