Moved onnx build to main dockerfile.

This commit is contained in:
Daniel
2025-01-27 15:19:19 +01:00
parent f9127e9a40
commit 45d003c2e9
3 changed files with 33 additions and 18 deletions

View File

@ -21,6 +21,24 @@ Fast triangulation of multiple persons from multiple camera views.
cd RapidPoseTriangulation/
```
- Enable gpu-access while building docker images:
```bash
# Open file:
sudo nano /etc/docker/daemon.json
# Add:
{
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
# Restart docker
sudo systemctl restart docker
```
- Build docker container:
```bash
docker build --progress=plain -t rapidposetriangulation .