Moved onnx build to main dockerfile.
This commit is contained in:
18
README.md
18
README.md
@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user