imt-ring 1.6.5__py3-none-any.whl → 1.6.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {imt_ring-1.6.5.dist-info → imt_ring-1.6.7.dist-info}/METADATA +1 -6
- {imt_ring-1.6.5.dist-info → imt_ring-1.6.7.dist-info}/RECORD +8 -8
- {imt_ring-1.6.5.dist-info → imt_ring-1.6.7.dist-info}/WHEEL +1 -1
- ring/algorithms/generator/base.py +1 -1
- ring/utils/__init__.py +0 -1
- ring/utils/path.py +18 -0
- ring/utils/utils.py +1 -1
- {imt_ring-1.6.5.dist-info → imt_ring-1.6.7.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: imt-ring
|
3
|
-
Version: 1.6.
|
3
|
+
Version: 1.6.7
|
4
4
|
Summary: RING: Recurrent Inertial Graph-based Estimator
|
5
5
|
Author-email: Simon Bachhuber <simon.bachhuber@fau.de>
|
6
6
|
Project-URL: Homepage, https://github.com/SimiPixel/ring
|
@@ -16,16 +16,11 @@ Requires-Dist: jaxopt
|
|
16
16
|
Requires-Dist: numpy
|
17
17
|
Requires-Dist: flax
|
18
18
|
Requires-Dist: tqdm
|
19
|
-
Requires-Dist: wget
|
20
|
-
Requires-Dist: h5py
|
21
19
|
Requires-Dist: imt-tree-utils
|
22
20
|
Requires-Dist: wandb
|
23
21
|
Requires-Dist: optax
|
24
22
|
Requires-Dist: dm-haiku
|
25
|
-
Requires-Dist: joblib
|
26
23
|
Requires-Dist: pyyaml
|
27
|
-
Requires-Dist: qmt
|
28
|
-
Requires-Dist: scipy
|
29
24
|
Provides-Extra: dev
|
30
25
|
Requires-Dist: mkdocs ; extra == 'dev'
|
31
26
|
Requires-Dist: mkdocs-material ; extra == 'dev'
|
@@ -14,7 +14,7 @@ ring/algorithms/custom_joints/rr_imp_joint.py,sha256=_YJK0p8_0MHFtr1NuGnNZoxTbwa
|
|
14
14
|
ring/algorithms/custom_joints/rr_joint.py,sha256=jnRtjtOCALMaq2_0bcu2d7qgfQ6etXpoh43MioRaDmY,1000
|
15
15
|
ring/algorithms/custom_joints/suntay.py,sha256=tOEGM304XciHO4pmvxr4faA4xXVO4N2HlPdFmXKbcrw,16726
|
16
16
|
ring/algorithms/generator/__init__.py,sha256=bF-CW3x2x-o6KWESKy-DuxzZPh3UNSjJb_MaAcSHGsQ,277
|
17
|
-
ring/algorithms/generator/base.py,sha256=
|
17
|
+
ring/algorithms/generator/base.py,sha256=YKUr9UnjFbWAYjP8V1j0FaKGVpK92W6E1iuoet7qBNg,14522
|
18
18
|
ring/algorithms/generator/batch.py,sha256=ylootnXmj-JyuB_f5OCknHst9wFKO3gkjQbMrFNXY2g,2513
|
19
19
|
ring/algorithms/generator/finalize_fns.py,sha256=LUw1Wc2YrmMRRh4RF704ob3bZOXktAZAbbLoBm_p1yw,9131
|
20
20
|
ring/algorithms/generator/motion_artifacts.py,sha256=2VJbldVDbI3PSyboshIbtYvSAKzBBwGV7cQfYjqvluM,9167
|
@@ -72,18 +72,18 @@ ring/sys_composer/__init__.py,sha256=5J_JJJIHfTPcpxh0v4FqiOs81V1REPUd7pgiw2nAN5E
|
|
72
72
|
ring/sys_composer/delete_sys.py,sha256=cIM9KbyLfg7B9121g7yjzuFbjeNu9cil1dPavAYEgzk,3408
|
73
73
|
ring/sys_composer/inject_sys.py,sha256=Mj-q-mUjXKwkg-ol6IQAjf9IJfk7pGhez0_WoTKTgm0,3503
|
74
74
|
ring/sys_composer/morph_sys.py,sha256=2GpPtS5hT0eZMptdGpt30Hc97OykJNE67lEVRf7sHrc,12700
|
75
|
-
ring/utils/__init__.py,sha256=
|
75
|
+
ring/utils/__init__.py,sha256=MHHavc8YfjBlmB-zAV42QEQS_ebW7cy0lhWXEVyQU7s,720
|
76
76
|
ring/utils/backend.py,sha256=cKSi9sB59texqKzNVASTDczGKLCBL8VVDiP7TNdj41k,1294
|
77
77
|
ring/utils/batchsize.py,sha256=FbOii7MDP4oPZd9GJOKehFatfnb6WZ0b9z349iZYs1A,1786
|
78
78
|
ring/utils/colab.py,sha256=ZLHwP0jNQUsmZJU4l68a5djULPi6T-jYNNHevjIoMn8,1631
|
79
79
|
ring/utils/hdf5.py,sha256=BzXwVypZmEZeHVgeGZ78YYdi10NEQtnPhdrb8dQAXo0,5856
|
80
80
|
ring/utils/normalizer.py,sha256=67L2BU1MRsMT4pD41ta3JJMppLN0ozFmnwrmXDtnqrQ,1698
|
81
|
-
ring/utils/path.py,sha256=
|
81
|
+
ring/utils/path.py,sha256=zRPfxYNesvgefkddd26oar6f9433LkMGkhp9dF3rPUs,1926
|
82
82
|
ring/utils/randomize_sys.py,sha256=G_vBIo0OwQkXL2u0djwbaoaeb02C4LQCTNNloOYIU2M,3699
|
83
|
-
ring/utils/utils.py,sha256=
|
83
|
+
ring/utils/utils.py,sha256=oGC7kh19s5zvmnUvWy8B3fBl9loVU58ppz91osk2m3w,6550
|
84
84
|
ring/utils/register_gym_envs/__init__.py,sha256=PtPIRBQJ16339xZ9G9VpvqrvcGbQ_Pk_SUz4tQPa9nQ,94
|
85
85
|
ring/utils/register_gym_envs/saddle.py,sha256=tA5CyW_akSXyDm0xJ83CtOrUMVElH0f9vZtEDDJQalI,4422
|
86
|
-
imt_ring-1.6.
|
87
|
-
imt_ring-1.6.
|
88
|
-
imt_ring-1.6.
|
89
|
-
imt_ring-1.6.
|
86
|
+
imt_ring-1.6.7.dist-info/METADATA,sha256=qmP76hCRm-7QsTvxE_D4D36JZoCzVhhrsiujBvdL5Vw,3820
|
87
|
+
imt_ring-1.6.7.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
88
|
+
imt_ring-1.6.7.dist-info/top_level.txt,sha256=EiT790-lAyi8iwTzJArH3f2k77rwhDn00q-4PlmvDQo,5
|
89
|
+
imt_ring-1.6.7.dist-info/RECORD,,
|
@@ -322,7 +322,7 @@ def _build_mconfig_batched_generator(
|
|
322
322
|
if add_y_relpose:
|
323
323
|
pipe.append(finalize_fns.RelPose(sys_noimu))
|
324
324
|
if add_y_rootincl:
|
325
|
-
pipe.append(finalize_fns.RootIncl(sys_noimu))
|
325
|
+
pipe.append(finalize_fns.RootIncl(sys_noimu, **add_y_rootincl_kwargs))
|
326
326
|
if use_link_number_in_Xy:
|
327
327
|
pipe.append(finalize_fns.Names2Indices(sys_noimu))
|
328
328
|
|
ring/utils/__init__.py
CHANGED
ring/utils/path.py
CHANGED
@@ -12,6 +12,24 @@ def parse_path(
|
|
12
12
|
mkdir: bool = True,
|
13
13
|
require_is_file: bool = False,
|
14
14
|
) -> str:
|
15
|
+
"""Utility for performing actions on a path
|
16
|
+
|
17
|
+
Args:
|
18
|
+
path (str): The (root) path to file or folder
|
19
|
+
extension (Optional[str], optional): The file extension. Defaults to None.
|
20
|
+
file_exists_ok (bool, optional): If false, will error if file already exists.
|
21
|
+
Defaults to True.
|
22
|
+
mkdir (bool, optional): Will create all subdirs in the process.
|
23
|
+
Defaults to True.
|
24
|
+
require_is_file (bool, optional): if true, will error if file does not
|
25
|
+
already exist. Defaults to False.
|
26
|
+
|
27
|
+
Raises:
|
28
|
+
Exception: _description_
|
29
|
+
|
30
|
+
Returns:
|
31
|
+
str: The home-expanded path to folder or file
|
32
|
+
"""
|
15
33
|
path = Path(os.path.expanduser(path))
|
16
34
|
|
17
35
|
for p in join_paths:
|
ring/utils/utils.py
CHANGED
@@ -115,7 +115,7 @@ def pytree_deepcopy(tree):
|
|
115
115
|
"Recursivley copies a pytree."
|
116
116
|
if isinstance(tree, (int, float, jax.Array)):
|
117
117
|
return tree
|
118
|
-
elif isinstance(tree, np.ndarray):
|
118
|
+
elif isinstance(tree, np.ndarray) or np.isscalar(tree):
|
119
119
|
return tree.copy()
|
120
120
|
elif isinstance(tree, list):
|
121
121
|
return [pytree_deepcopy(ele) for ele in tree]
|
File without changes
|