Skip to content

Commit a3c206a

Browse files
committed
Rename the toolbox
1 parent 84154e4 commit a3c206a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+183
-178
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.7, 3.8]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements_dev.txt
22+
python setup.py develop
23+
- name: Lint with black
24+
run: |
25+
black --line-length 80 --check --diff tensorflow_riemopt
26+
- name: Test with pytest
27+
run: |
28+
pytest -v tensorflow_riemopt --cov tensorflow_manopt
29+
- name: Publish to coveralls.io
30+
uses: coverallsapp/[email protected]
31+
with:
32+
github-token: ${{ github.token }}

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# TensorFlow ManOpt
1+
# TensorFlow RiemOpt
22

3-
[![PyPI version](https://img.shields.io/pypi/v/tensorflow-manopt.svg)](https://pypi.org/project/tensorflow-manopt/)
4-
[![DOI](https://zenodo.org/badge/298014876.svg)](https://zenodo.org/badge/latestdoi/298014876)
5-
[![Build Status](https://travis-ci.org/master/tensorflow-manopt.svg?branch=master)](https://travis-ci.org/master/tensorflow-manopt)
6-
[![Coverage Status](https://coveralls.io/repos/github/master/tensorflow-manopt/badge.svg?branch=master)](https://coveralls.io/github/master/tensorflow-manopt?branch=master)
3+
[![PyPI](https://img.shields.io/pypi/v/tensorflow-riemopt.svg)](https://pypi.org/project/tensorflow-riemopt/)
4+
[![arXiv](https://img.shields.io/badge/arXiv-2105.13921-b31b1b.svg)](https://arxiv.org/abs/2105.13921)
5+
[![Build Status](https://github.com/master/tensorflow-riemopt/actions/workflows/build.yml/badge.svg)](https://github.com/master/tensorflow-riemopt/actions)
6+
[![Coverage Status](https://coveralls.io/repos/github/master/tensorflow-riemopt/badge.svg?branch=master)](https://coveralls.io/github/master/tensorflow-riemopt?branch=master)
77
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
88
[![License](https://img.shields.io/:license-mit-blue.svg)](https://badges.mit-license.org)
99

@@ -14,13 +14,13 @@ A library for manifold-constrained optimization in TensorFlow.
1414
To install the latest development version from GitHub:
1515

1616
```bash
17-
pip install git+https://github.com/master/tensorflow-manopt.git
17+
pip install git+https://github.com/master/tensorflow-riemopt.git
1818
```
1919

2020
To install a package from PyPI:
2121

2222
```bash
23-
pip install tensorflow-manopt
23+
pip install tensorflow-riemopt
2424
```
2525

2626
## Features
@@ -30,10 +30,12 @@ manifolds and Riemannian metrics with associated exponential and logarithmic
3030
maps, geodesics, retractions, and transports. For manifolds, where closed-form
3131
expressions are not available, the library provides numerical approximations.
3232

33-
<img align="right" width="400" src="https://github.com/master/tensorflow-manopt/blob/master/examples/usage.png?raw=true">
33+
<img align="right" width="400" src="https://github.com/master/tensorflow-riemopt/blob/master/examples/usage.png?raw=true">
3434

3535
```python
36-
S = manopt.manifolds.Sphere()
36+
import tensorflow_riemopt as riemopt
37+
38+
S = riemopt.manifolds.Sphere()
3739

3840
x = S.projx(tf.constant([0.1, -0.1, 0.1]))
3941
u = S.proju(x, tf.constant([1., 1., 1.]))
@@ -86,11 +88,11 @@ optimizers for sparse and dense updates in both Eager and Graph modes.
8688

8789
## References
8890

89-
If you find TensorFlow ManOpt useful in your research, please cite:
91+
If you find TensorFlow RiemOpt useful in your research, please cite:
9092

9193
```
9294
@misc{smirnov2021tensorflow,
93-
title={TensorFlow ManOpt: a library for optimization on Riemannian manifolds},
95+
title={TensorFlow RiemOpt: a library for optimization on Riemannian manifolds},
9496
author={Oleg Smirnov},
9597
year={2021},
9698
eprint={2105.13921},
@@ -101,7 +103,7 @@ optimizers for sparse and dense updates in both Eager and Graph modes.
101103

102104
## Acknowledgment
103105

104-
TensorFlow ManOpt was inspired by many similar projects:
106+
TensorFlow RiemOpt was inspired by many similar projects:
105107

106108
- [Manopt](https://www.manopt.org/), a matlab toolbox for optimization on manifolds
107109
- [Pymanopt](https://www.pymanopt.org/), a Python toolbox for optimization on manifolds

examples/grnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Implementation of GrNet [1], a deep network on Grassmann manifolds.
44

5-
<img align="center" width="800" src="https://github.com/master/tensorflow-manopt/blob/master/examples/grnet/grnet.png?raw=true">
5+
<img align="center" width="800" src="https://github.com/master/tensorflow-riemopt/blob/master/examples/grnet/grnet.png?raw=true">
66

77
## Requirements
88

examples/grnet/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import tensorflow as tf
22

3-
from tensorflow_manopt.variable import assign_to_manifold
4-
from tensorflow_manopt.manifolds import Grassmannian
5-
from tensorflow_manopt.manifolds import utils
6-
from tensorflow_manopt.optimizers import RiemannianSGD
3+
from tensorflow_riemopt.variable import assign_to_manifold
4+
from tensorflow_riemopt.manifolds import Grassmannian
5+
from tensorflow_riemopt.manifolds import utils
6+
from tensorflow_riemopt.optimizers import RiemannianSGD
77

88

99
@tf.keras.utils.register_keras_serializable(name="FRMap")

examples/grnet/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
scipy
2-
tensorflow-manopt
2+
tensorflow-riemopt

examples/lienet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Implementation of LieNet [1], a deep learning network on Lie Groups for
44
skeleton-based action recognition.
55

6-
<img align="center" width="800" src="https://github.com/master/tensorflow-manopt/blob/master/examples/lienet/lienet.png?raw=true">
6+
<img align="center" width="800" src="https://github.com/master/tensorflow-riemopt/blob/master/examples/lienet/lienet.png?raw=true">
77

88
## Requirements
99

examples/lienet/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import tensorflow as tf
22

3-
from tensorflow_manopt.variable import assign_to_manifold
4-
from tensorflow_manopt.manifolds import SpecialOrthogonal
5-
from tensorflow_manopt.manifolds import utils
6-
from tensorflow_manopt.optimizers import RiemannianSGD
3+
from tensorflow_riemopt.variable import assign_to_manifold
4+
from tensorflow_riemopt.manifolds import SpecialOrthogonal
5+
from tensorflow_riemopt.manifolds import utils
6+
from tensorflow_riemopt.optimizers import RiemannianSGD
77

88

99
EPS = 1e-7

examples/lienet/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
scipy
2-
tensorflow-manopt
2+
tensorflow-riemopt

examples/spdnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Implementation of SPDNet [1], a Riemannian network for SPD matrix learning.
44

5-
<img align="center" width="800" src="https://github.com/master/tensorflow-manopt/blob/master/examples/spdnet/spdnet.png?raw=true">
5+
<img align="center" width="800" src="https://github.com/master/tensorflow-riemopt/blob/master/examples/spdnet/spdnet.png?raw=true">
66

77
## Requirements
88

0 commit comments

Comments
 (0)