Skip to content

Commit

Permalink
3-Clause BSD licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain BRÉGIER committed Apr 8, 2024
1 parent 69455d6 commit c406cb5
Show file tree
Hide file tree
Showing 23 changed files with 37 additions and 492 deletions.
446 changes: 6 additions & 440 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RoMa
Copyright (c) 2021 NAVER Corp.
Copyright (c) 2020 NAVER Corp.

This project contains subcomponents with separate copyright notices and license terms.
Your use of the source code for these subcomponents is subject to the terms and conditions of the following licenses.
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ identity = T @ T.inverse()
M = identity.to_homogeneous()
```


## Installation
The easiest way to install *RoMa* is to use pip:
```
Expand All @@ -74,7 +73,7 @@ You can check that this module is properly loaded using the function `roma.utils


## License
*RoMa*, Copyright (c) 2021 NAVER Corp., is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 license (see [license](https://github.com/naver/roma/blob/master/LICENSE)).
*RoMa*, Copyright (c) 2020 NAVER Corp., is licensed under the 3-Clause BSD License (see [license](https://github.com/naver/roma/blob/master/LICENSE)).

Bits of code were adapted from SciPy. Documentation is generated, distributed and displayed with the support of Sphinx and other materials (see [notice](https://github.com/naver/roma/blob/master/NOTICE)).

Expand Down
3 changes: 1 addition & 2 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# 3-Clause BSD License.

# Dirty init so that one can just include this repository as a git submodule.
from .roma.mappings import *
Expand Down
2 changes: 2 additions & 0 deletions docsource/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ Bits of code were adapted from SciPy. Documentation is generated, distributed an

Changelog
==========
Version 1.4.5:
- 3-Clause BSD Licensing.
Version 1.4.4:
- Added :func:`~roma.utils.identity_quat()`.
Version 1.4.3:
Expand Down
5 changes: 2 additions & 3 deletions examples/example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2021 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
"""
Example showcasing some possibilities of the library.
"""
Expand Down
5 changes: 2 additions & 3 deletions examples/geodesic_distance_comparison.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2021 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
"""
Study of numerical stability of rotmat_geodesic_distance_naive and rotmat_geodesic_distance.
Plot value and gradient of a function consisting given an angle theta in:
Expand Down
5 changes: 2 additions & 3 deletions examples/linearity_deviations.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2021 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
"""
Plot the deviation of various differentiable 3D rotation mappings with respect to their tangent plane, for different step sizes.
"""
Expand Down
5 changes: 2 additions & 3 deletions examples/mapping_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2021 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
"""
Execution speed benchmark for different mappings on the 3D rotation space.
Requires a CUDA-enabled GPU.
Expand Down
5 changes: 2 additions & 3 deletions examples/special_procrustes_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2021 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
"""
Plot computation time of special_procrustes using regular torch.svd decomposition versus batch SVD decomposition when available.
Requires a CUDA-enabled GPU.
Expand Down
4 changes: 1 addition & 3 deletions roma/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
from .mappings import *
from .utils import *
from .transforms import *
3 changes: 1 addition & 2 deletions roma/internal.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# 3-Clause BSD License.
"""
Set of functions for internal module use.
"""
Expand Down
4 changes: 1 addition & 3 deletions roma/mappings.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
"""
Various mappings between different rotation representations.
"""
Expand Down
3 changes: 1 addition & 2 deletions roma/transforms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# 3-Clause BSD License.
"""
Spatial transformations parameterized by rotation matrices, unit quaternions and more.
Expand Down
3 changes: 1 addition & 2 deletions roma/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.
# 3-Clause BSD License.
"""
Various utility functions related to rotation representations.
"""
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="roma",
version="1.4.4",
version="1.4.5",
author="Romain Brégier",
author_email="[email protected]",
description="A lightweight library to deal with 3D rotations in PyTorch.",
Expand All @@ -15,7 +15,7 @@
packages=["roma"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: Free for non-commercial use",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
Expand Down
4 changes: 1 addition & 3 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
from os.path import dirname, basename, isfile, join
import glob
modules = glob.glob(join(dirname(__file__), "test_*.py"))
Expand Down
4 changes: 1 addition & 3 deletions test/test_derivatives.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
import torch
import unittest
from test.utils import *
Expand Down
4 changes: 1 addition & 3 deletions test/test_mappings.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
import unittest
import torch
import roma
Expand Down
4 changes: 1 addition & 3 deletions test/test_procrustes_derivatives.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
import torch
import roma
import unittest
Expand Down
3 changes: 3 additions & 0 deletions test/test_transforms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# 3-Clause BSD License.
import torch
import roma
from roma.transforms import *
Expand Down
4 changes: 1 addition & 3 deletions test/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
import unittest
import torch
import numpy as np
Expand Down
4 changes: 1 addition & 3 deletions test/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# RoMa
# Copyright (c) 2020 NAVER Corp.
# CC BY-NC-SA 4.0
# Available only for non-commercial use.

# 3-Clause BSD License.
import torch
import itertools
import traceback
Expand Down

0 comments on commit c406cb5

Please sign in to comment.