Small updates.
This commit is contained in:
13
README.md
13
README.md
@ -27,6 +27,11 @@ Fast triangulation of multiple persons from multiple camera views.
|
|||||||
./run_container.sh
|
./run_container.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Build triangulator:
|
||||||
|
```bash
|
||||||
|
cd /RapidPoseTriangulation/swig/ && make all && cd ../tests/ && python3 test_interface.py && cd ..
|
||||||
|
```
|
||||||
|
|
||||||
- Test with samples:
|
- Test with samples:
|
||||||
```bash
|
```bash
|
||||||
python3 /RapidPoseTriangulation/scripts/test_triangulate.py
|
python3 /RapidPoseTriangulation/scripts/test_triangulate.py
|
||||||
@ -37,11 +42,3 @@ Fast triangulation of multiple persons from multiple camera views.
|
|||||||
export CUDA_VISIBLE_DEVICES=0
|
export CUDA_VISIBLE_DEVICES=0
|
||||||
python3 /RapidPoseTriangulation/scripts/test_skelda_dataset.py
|
python3 /RapidPoseTriangulation/scripts/test_skelda_dataset.py
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
## Debugging
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd /RapidPoseTriangulation/swig/ && make all && cd ../tests/ && python3 test_interface.py && cd ..
|
|
||||||
```
|
|
||||||
|
|||||||
@ -49,8 +49,9 @@ class BaseModel(ABC):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if usegpu and "CUDAExecutionProvider" in providers:
|
elif usegpu and "CUDAExecutionProvider" in providers:
|
||||||
self.providers.append("CUDAExecutionProvider")
|
self.providers.append("CUDAExecutionProvider")
|
||||||
|
else:
|
||||||
self.providers.append("CPUExecutionProvider")
|
self.providers.append("CPUExecutionProvider")
|
||||||
print("Using providers:", self.providers)
|
print("Using providers:", self.providers)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user