Skip to content

Commit

Permalink
Move chompack to pip
Browse files Browse the repository at this point in the history
  • Loading branch information
duembgen committed Dec 29, 2023
1 parent 4eb7cbd commit 3be44fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions _test/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def test_canonical_operations():
Ai_sub = np.array(
[
[1, 0, 0, 0, 0, 0],
[0, 0,.5, 0, 0, 0],
[0,.5, 0, 0,.5, 0],
[0, 0, .5, 0, 0, 0],
[0, .5, 0, 0, .5, 0],
[0, 0, 0, 1, 0, 0],
[0, 0,.5, 0, 0, 0],
[0, 0, .5, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
]
)
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ dependencies:
- mosek
- tbb=2020.2 # sparseqr conflict
- autograd>=1.6.2
- chompack>=2.3.3

- pip:
- chompack>=2.3.3
- pymanopt>=2.1.1
- sparseqr
- asrl-pylgmath>=1.0.3
Expand Down
2 changes: 1 addition & 1 deletion lifters/robust_pose_lifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def get_cost(self, theta, y):

try:
R, t = get_C_r_from_theta(x, self.d)
except:
except Exception:
R, t = get_C_r_from_xtheta(x, self.d)

cost = 0
Expand Down
1 change: 0 additions & 1 deletion lifters/state_lifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ def convert_b_to_polyrow(self, b, var_subset, tol=1e-10) -> PolyMatrix:
poly_row["h", key] = val
return poly_row


def apply_templates(self, basis_list, n_landmarks=None, verbose=False):
"""
Apply the learned patterns in basis_list to all landmarks.
Expand Down

0 comments on commit 3be44fa

Please sign in to comment.