You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install the library, you can install it locally (after downloading it) on you machine using
39
39
```
40
-
python setup.py install --user
40
+
python setup.py install --user # for user install (no root)
41
41
```
42
42
43
43
The toolbox is also available on PyPI with a possibly slightly older version. You can install it with:
@@ -52,6 +52,22 @@ import ot
52
52
53
53
Note that for easier access the module is name ot instead of pot.
54
54
55
+
56
+
### Dependencies
57
+
58
+
Some sub-modules require additional dependences which are discussed below
59
+
60
+
* ot.dr (Wasserstein dimensionality rediuction) depends on autograd and pymanopt that can be installed with:
61
+
```
62
+
pip install pymanopt autograd
63
+
```
64
+
* ot.gpu (GPU accelerated OT) depends on cudamat that have to be installed with:
65
+
```
66
+
git clone https://github.com/cudamat/cudamat.git
67
+
cd cudamat
68
+
python setup.py install --user # for user install (no root)
69
+
```
70
+
55
71
## Examples
56
72
57
73
The examples folder contain several examples and use case for the library. The full documentation is available on [Readthedocs](http://pot.readthedocs.io/)
@@ -77,8 +93,8 @@ The contributors to this library are:
0 commit comments