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

About the difference between fg_depth and depth #13

Open
sinsin1998 opened this issue May 4, 2023 · 2 comments
Open

About the difference between fg_depth and depth #13

sinsin1998 opened this issue May 4, 2023 · 2 comments

Comments

@sinsin1998
Copy link

fg_info = img_metas[sample_idx]['foreground2D_info']
fg_pxl = fg_info['fg_pixels'][view_idx]
fg_depth = torch.from_numpy(fg_pxl[:,2]).to(device) in line 207 in MSMDFusionDetector
and
fg_real_pixels = img_metas[i]['foreground2D_info']['fg_real_pixels']
depth = fg_real_pxl[:,2]

code above shows that you have use two depth information in the generation of foreground2D, could you tell me the deffrence between them ?

@SxJyJay
Copy link
Owner

SxJyJay commented May 5, 2023

"fg_pxl" corresponds to the location of seeds sampled in MDU. "fg_real_pixels" corresponds to the locations of projected lidar points. Here, locations are represented in the form of (u, v, d), where u and v are pixel coordinates and d is the depth.

@Libraaer
Copy link

Libraaer commented Sep 7, 2024

fg_info = img_metas[sample_idx]['foreground2D_info'] fg_pxl = fg_info['fg_pixels'][view_idx] fg_depth = torch.from_numpy(fg_pxl[:,2]).to(device) in line 207 in MSMDFusionDetector and fg_real_pixels = img_metas[i]['foreground2D_info']['fg_real_pixels'] depth = fg_real_pxl[:,2]

code above shows that you have use two depth information in the generation of foreground2D, could you tell me the deffrence between them ?

Hello, have you trained this model? I'm using A800 here but still not enough to train. If you've trained, can you give me an answer to the reason for my lack of memory here, thank you

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

No branches or pull requests

3 participants