Skip to content

Instantly share code, notes, and snippets.

@amatiasq
Created July 23, 2020 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amatiasq/79218b3e2b78c86ddc5bc1b578019b3d to your computer and use it in GitHub Desktop.
Save amatiasq/79218b3e2b78c86ddc5bc1b578019b3d to your computer and use it in GitHub Desktop.
#!/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