Skip to content

Conversation

@horizon-blue
Copy link
Contributor

(Closes MET-58)

Background

Turns out I made a mistake when porting over the reference implementation in #6, where in the section that render the g round truth image, I dropped the code that delete the light & camera nodes (because I thought that r.delete() would delete everything regardless. However, without this cleanup, it seems like pyrender always uses the first camera node to render the image, so we end up with a sequence of identical input images, which causes convergence issue.

This is fixed by placing back the cleanup code.

Before & After

Before the fix:

Input depth image (generated by pyrenderer):

image

FMB optimized output:

image

After the fix:

Input depth image:

image

FMB optimized output:

image

@linear
Copy link

linear bot commented Dec 5, 2025

MET-58 Debug convergence issue in JAX-based FMB

I think I made a dumb mistake when porting the reference FMB implementation as they're actually not converging correctly at the moment lol

image.png

image.png

@horizon-blue horizon-blue marked this pull request as ready for review December 5, 2025 00:54
@horizon-blue horizon-blue merged commit ccc0329 into master Dec 5, 2025
1 check passed
@horizon-blue horizon-blue deleted the xiaoyan/fix-data-creation branch December 5, 2025 01:09
@karen-sy
Copy link

karen-sy commented Dec 5, 2025

Looking nice :3

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.

3 participants