2
2
3
3
[ ![ Conda] ( https://github.com/agimus-project/happypose/actions/workflows/conda-test.yml/badge.svg )] ( https://github.com/agimus-project/happypose/actions/workflows/conda-test.yml )
4
4
[ ![ Pip] ( https://github.com/agimus-project/happypose/actions/workflows/pip-test.yml/badge.svg )] ( https://github.com/agimus-project/happypose/actions/workflows/pip-test.yml )
5
- [ ![ Poetry ] ( https://github.com/agimus-project/happypose/actions/workflows/poetry -test.yml/badge.svg )] ( https://github.com/agimus-project/happypose/actions/workflows/poetry -test.yml )
5
+ [ ![ uv ] ( https://github.com/agimus-project/happypose/actions/workflows/uv -test.yml/badge.svg )] ( https://github.com/agimus-project/happypose/actions/workflows/uv -test.yml )
6
6
[ ![ Book] ( https://github.com/agimus-project/happypose/actions/workflows/book.yml/badge.svg )] ( https://github.com/agimus-project/happypose/actions/workflows/book.yml )
7
7
8
8
[ ![ pre-commit.ci status] ( https://results.pre-commit.ci/badge/github/agimus-project/happypose/main.svg )] ( https://results.pre-commit.ci/latest/github/agimus-project/happypose/main )
@@ -16,7 +16,7 @@ Toolbox and trackers for object pose-estimation. Based on the work [CosyPose](ht
16
16
17
17
## Installation
18
18
19
- To install happypose, you can use pip or poetry .
19
+ To install happypose, you can use pip or uv .
20
20
21
21
We strongly suggest to install it in either a
22
22
[ venv] ( https://docs.python.org/fr/3/library/venv.html ) or a
@@ -32,20 +32,30 @@ conda activate happypose
32
32
pip install .
33
33
```
34
34
35
+ ### Example with uv
36
+
37
+ ```
38
+ git clone --branch dev --recurse-submodules https://github.com/agimus-project/happypose.git
39
+ cd happypose
40
+ uv sync --extra pypi --extra cpu # you *must* choose between cpu / cu124
41
+ ```
42
+
35
43
### Example with venv
36
44
37
45
```
38
46
git clone --branch dev --recurse-submodules https://github.com/agimus-project/happypose.git
39
47
cd happypose
40
48
python -m venv .venv
41
49
source .venv/bin/activate
42
- pip install .[pypi]
50
+ pip install .[cpu, pypi] # you *must* choose between cpu / cu124
43
51
```
44
52
45
53
### Install extras:
46
54
47
55
- ` multiview ` : installs cosypose c++ extension
48
- - ` pypi ` : install torch, pinocchio & opencv from PyPI (don't use this with conda)
56
+ - ` pypi ` : install pinocchio & opencv from PyPI (don't use this with conda)
57
+ - ` cpu ` : install torch for CPU from wheel (don't use this with conda)
58
+ - ` cu124 ` : install torch for CUDA 12.4 from wheel (don't use this with conda)
49
59
50
60
## Create data directory
51
61
0 commit comments