Skip to content

Commit b575edb

Browse files
HaoliangWanghorizon-bluegeorgematheosnishadgothoskarpre-commit-ci[bot]
authored
use hmm for ipe model (#207)
Co-authored-by: Xiaoyan Wang <xxiaoyanwang@gmail.com> Co-authored-by: georgematheos <georgematheos@gmail.com> Co-authored-by: nishadgothoskar <nishadg@mit.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Karen Chung <karenchung117@gmail.com>
1 parent a014533 commit b575edb

File tree

79 files changed

+7807
-3731
lines changed

Some content is hidden

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

79 files changed

+7807
-3731
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ assets/kitti/*
1919
__pycache__/
2020
*.py[cod]
2121
docs/*
22+
test_results/
2223
.pixi/*
2324
saved_traces/*
2425
.DS_Store

notebooks/aug1demos/slam_color_room.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@
16211621
"# convert_rgbd_to_color_space = lambda x: b3d.colors.rgbd_to_labd(x)\n",
16221622
"# convert_color_space_to_rgbd = lambda x: b3d.colors.labd_to_rgbd(x)\n",
16231623
"def intermediate_likelihood_func(observed_rgbd, latent_rgbd, likelihood_args):\n",
1624-
" k = likelihood_args[\"k\"].const\n",
1624+
" k = likelihood_args[\"k\"].unwrap()\n",
16251625
" fx = likelihood_args[\"fx\"]\n",
16261626
" fy = likelihood_args[\"fy\"]\n",
16271627
"\n",

notebooks/bayes3d_paper/interactive.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"# def sample_likelihood_func()\n",
170170
"\n",
171171
"def intermediate_likelihood_func(observed_rgbd, latent_rgbd, likelihood_args):\n",
172-
" k = likelihood_args[\"k\"].const\n",
172+
" k = likelihood_args[\"k\"].unwrap()\n",
173173
" fx = likelihood_args[\"fx\"]\n",
174174
" fy = likelihood_args[\"fy\"]\n",
175175
" \n",
@@ -628,16 +628,16 @@
628628
" rendered_rgbd = renderer.render_rgbd_from_mesh(meshes[IDX].transform(pose))\n",
629629
" rendered_color_space_d = convert_rgbd_to_color_space(rendered_rgbd)\n",
630630
"\n",
631-
" k = likelihood_args[\"k\"].const\n",
631+
" k = likelihood_args[\"k\"].unwrap()\n",
632632
" image_height, image_width = rendered_color_space_d.shape[0], rendered_color_space_d.shape[1]\n",
633633
" image_height = Pytree.const(image_height)\n",
634634
" image_width = Pytree.const(image_width)\n",
635635
"\n",
636636
" row_coordinates = genjax.categorical.vmap(in_axes=(0,))(\n",
637-
" jnp.ones((k, image_height.const))\n",
637+
" jnp.ones((k, image_height.unwrap()))\n",
638638
" ) @ \"row_coordinates\"\n",
639639
" column_coordinates = genjax.categorical.vmap(in_axes=(0,))(\n",
640-
" jnp.ones((k, image_width.const))\n",
640+
" jnp.ones((k, image_width.unwrap()))\n",
641641
" ) @ \"column_coordinates\"\n",
642642
"\n",
643643
"\n",

notebooks/bayes3d_paper/old_inference_algorithm.ipynb

Lines changed: 412 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/bayes3d_paper/run_ycbv_evaluation.py

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

0 commit comments

Comments
 (0)