First you need to ssh into your machine (replace PATH_TO_SSHKEY
with the path to your local ssh key and IP_ADDRESS_SERVER
with the server's IP address):
ssh -i ~/.ssh/PATH_TO_SSHKEY user@IP_ADDRESS_SERVER
Once you're on the server clone this repo:
git clone https://github.com/gu-ma/datacrunch-example.git
Create environment (you only need to do that once):
chmod +x sg2ada_create_env.sh
./sg2ada_create_env.sh
Activate env and start Jupyter Notebook (you only need to set the Jupyter password once):
conda activate stylegan2-ada
jupyter notebook password
jupyter notebook --ip=0.0.0.0 --port=9999
Then open your browser at http://IP_ADDRESS_SERVER:9999/