Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 610 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 610 Bytes

Build Docker image

cd docker
docker build --build-arg USER_ID=$UID -t spine_xr:v0 .

Run container

Ensure NVIDIA container toolkit are installed

# the first run
# replace "path-to-project-home" with the actual path
docker run --gpus all -it \
  --shm-size=8gb --env="DISPLAY" --net=host \
  --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
  --volume=$HOME/.torch/spine_xr_cache:/tmp:rw \
  --mount type=bind,source="path-to-project-home",target=/home/appuser/spinexr \
  --name=spine_xr spine_xr:v0

# start existing container
docker start spine_xr
docker exec -it spine_xr /bin/bash