gu-ma / ml-server-example-old

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Datacrunch (or Paperspace ?) examples

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

1) Stylegan2-ada

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/

2) GPT2

About

License:MIT License


Languages

Language:Jupyter Notebook 95.9%Language:Shell 4.1%