-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inference Move API #178
Inference Move API #178
Conversation
0d13266
to
b41ede4
Compare
|
||
### Run inference ### | ||
for T in tqdm(range(len(all_data))): | ||
key = b3d.split_key(key) | ||
trace = inference_step(trace, key, all_data[T]["rgbd"]) | ||
trace = inference.advance_time(key, trace, all_data[T]["rgbd"]) | ||
trace = inference_old.inference_step(trace, key, inference_hyperparams)[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nishadgothoskar for tonight, can we aim to launch at least 1 run that is using the new inference algorithm? This will be through a call to inference.inference_step_c2f
. I can add this to the script if helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes definitely. that is the plan.
@@ -154,38 +160,43 @@ def propose_a_points_attributes( | |||
return _propose_a_points_attributes( | |||
key, | |||
observed_rgbd_for_point=observed_rgbd_for_point, | |||
latent_depth=new_state["pose"].apply(hyperparams["vertices"][vertex_index])[2], | |||
latent_rgbd_for_point=jnp.array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nishadgothoskar isn't this going to break inference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean is -- don't we need to set the rgb
correctly here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think the rgb is ignored
Got it - in that case, why did we change the signature to have RGB? Should
we revert?
…On Mon, Sep 16, 2024 at 3:19 PM nishadgothoskar ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/b3d/chisight/gen3d/inference_moves.py
<#178 (comment)>:
> @@ -154,38 +160,43 @@ def propose_a_points_attributes(
return _propose_a_points_attributes(
key,
observed_rgbd_for_point=observed_rgbd_for_point,
- latent_depth=new_state["pose"].apply(hyperparams["vertices"][vertex_index])[2],
+ latent_rgbd_for_point=jnp.array(
i think the rgb is ignored
—
Reply to this email directly, view it on GitHub
<#178 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7OROLEKRYDAXSFRABLU4TZW4VNTAVCNFSM6AAAAABOJYCOCGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMBXGU4DANJRG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No description provided.