Skip to content
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

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Inference Move API #178

merged 1 commit into from
Sep 16, 2024

Conversation

nishadgothoskar
Copy link
Collaborator

No description provided.

@nishadgothoskar nishadgothoskar merged commit 4b8e6fe into gen3d Sep 16, 2024
6 of 7 checks passed
@nishadgothoskar nishadgothoskar deleted the fiddle_with_inference branch September 16, 2024 17:59

### 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)[
Copy link
Collaborator

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.

Copy link
Collaborator Author

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(
Copy link
Collaborator

@georgematheos georgematheos Sep 16, 2024

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?

Copy link
Collaborator

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?

Copy link
Collaborator Author

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

@georgematheos
Copy link
Collaborator

georgematheos commented Sep 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants