Follow the installation instructions for a tensorflow docker container: https://www.tensorflow.org/install/docker#tensorflow_docker_requirements
When creating the docker container run the following to create a persistant container:
sudo docker container create \
--name deep-audio \
--restart always \
-p 8888:<exposed_port> \
-p 6006:<exposed_port> \
-v <notebook_dir_in_home>:/notebooks \
tensorflow/tensorflow:latest-gpu-py3
Once created, be sure that the port you use for jupyter notebooks is open on the server (by default 8888)
Start the new container through
sudo docker start deep-audio
Open a bash shell into your container using
sudo docker exec -it deep-audio /bin/bash
Install dependencies:
apt update
apt install git openssh-server openssh-client nano libsndfile-dev
Add ssh key to Github:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
Clone the repository into container
git clone --recursive git@github.com:georgia-tech-db/deep-audio.git
Enter the directory and install pip dependencies
pip install -r requirements.txt
(Optional) Exit the container and if remote reconnect to the server with ssh tunneling:
ssh -L 8888:localhost:8888 usr@server