Compare commits

...

5 Commits

Author SHA1 Message Date
Cheng Chi
548a52bbb1
Merge pull request #27 from pointW/main
Fix typo in rotation_transformer.py
2023-10-26 22:34:42 -07:00
Dian Wang
de4384e84a
fix typo in rotation_transformer.py 2023-10-25 10:43:25 -04:00
Cheng Chi
7dd9dc417a
Merge pull request #21 from columbia-ai-robotics/cchi/fix_cpu_affinity
pinned llvm-openmp version to avoid cpu affinity bug in pytorch
2023-09-12 23:36:52 -07:00
Cheng Chi
5aa9996fdc pinned llvm-openmp version to avoid cpu affinity bug in pytorch 2023-09-13 02:36:26 -04:00
Cheng Chi
5c3d54fca3
Merge pull request #20 from columbia-ai-robotics/cchi/eval_script
added eval script and documentation
2023-09-09 22:58:56 -07:00
3 changed files with 6 additions and 2 deletions

View File

@ -46,6 +46,8 @@ dependencies:
- diffusers=0.11.1 - diffusers=0.11.1
- av=10.0.0 - av=10.0.0
- cmake=3.24.3 - cmake=3.24.3
# trick to avoid cpu affinity issue described in https://github.com/pytorch/pytorch/issues/99625
- llvm-openmp=14
# trick to force reinstall imagecodecs via pip # trick to force reinstall imagecodecs via pip
- imagecodecs==2022.8.8 - imagecodecs==2022.8.8
- pip: - pip:

View File

@ -46,6 +46,8 @@ dependencies:
- diffusers=0.11.1 - diffusers=0.11.1
- av=10.0.0 - av=10.0.0
- cmake=3.24.3 - cmake=3.24.3
# trick to avoid cpu affinity issue described in https://github.com/pytorch/pytorch/issues/99625
- llvm-openmp=14
# trick to force reinstall imagecodecs via pip # trick to force reinstall imagecodecs via pip
- imagecodecs==2022.8.8 - imagecodecs==2022.8.8
- pip: - pip:

View File

@ -40,7 +40,7 @@ class RotationTransformer:
getattr(pt, f'matrix_to_{from_rep}') getattr(pt, f'matrix_to_{from_rep}')
] ]
if from_convention is not None: if from_convention is not None:
funcs = [functools.partial(func, convernsion=from_convention) funcs = [functools.partial(func, convention=from_convention)
for func in funcs] for func in funcs]
forward_funcs.append(funcs[0]) forward_funcs.append(funcs[0])
inverse_funcs.append(funcs[1]) inverse_funcs.append(funcs[1])
@ -51,7 +51,7 @@ class RotationTransformer:
getattr(pt, f'{to_rep}_to_matrix') getattr(pt, f'{to_rep}_to_matrix')
] ]
if to_convention is not None: if to_convention is not None:
funcs = [functools.partial(func, convernsion=to_convention) funcs = [functools.partial(func, convention=to_convention)
for func in funcs] for func in funcs]
forward_funcs.append(funcs[0]) forward_funcs.append(funcs[0])
inverse_funcs.append(funcs[1]) inverse_funcs.append(funcs[1])