Skip to content

Deploy repository to Google Cloud

HBP1969 edited this page Jan 2, 2025 · 20 revisions

https://console.cloud.google.com/compute/instances?onCreate=true&hl=nl&inv=1&invt=AblL8g&project=project-predpreygrass

SSH

sudo apt update && 
sudo apt upgrade -y &&
wget -O miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh &&
sudo bash miniconda.sh -b -p /usr/local -u &&
conda create -n predpreygrass python=3.11 -y &&
sudo conda init

Restart shell

conda activate predpreygrass  &&
git clone https://github.com/doesburg11/PredPreyGrass.git &&
cd PredPreyGrass &&
pip install -e . &&
pip install supersuit==3.9.3 &&
pip install tensorboard==2.18.0 &&
pip install stable-baselines3[extra]==2.4.0 &&
python predpreygrass/single_objective/train/train_ppo_parallel_wrapped_aec_env.py

Download output locally

  • Copy the full path and file name which is provided on-screen.

  • Download file by inserting the full path and file name.

  • Choose a local path.

Clone this wiki locally