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

Questions about reproducing Replica example and PyTorch log_prob_unnorm method #3

Open
Tripton opened this issue Aug 7, 2024 · 5 comments

Comments

@Tripton
Copy link

Tripton commented Aug 7, 2024

I am currently working on integrating my own RGBD dataset, which I previously used for normal Gaussian Splatting without depth, into this repository. For this, I'm investigating how to handle depth, including loading and scaling depth, creating the raw point cloud (raw_pc), and so on.

As I still struggle with it, I am trying to reproduce the project using your provided Replica Dataset example. However, I have encountered a couple of issues:

  1. Replica Dataset Example: I cannot locate the traj.txt file which seems to be necessary for the example. Could you please upload it or direct me to where I can find it?

  2. PyTorch issue with MultivariateNormal: While experimenting, I ran into an issue with this line of code . It seems that PyTorch does not have a log_prob_unnorm method for MultivariateNormal. I am uncertain if it is correct to use log_prob instead. Do you have any suggestions on how to fix this or what the appropriate method would be?

Thank you in advance for your help!

@siyanhu
Copy link

siyanhu commented Aug 15, 2024

I solved it by using colmap to generate sparse data...

No you don't have. Dataset should be here: https://github.com/facebookresearch/Replica-Dataset

@kungfrank
Copy link
Contributor

Sorry for the late reply. I've updated the google drive folder!

@kungfrank
Copy link
Contributor

kungfrank commented Aug 26, 2024

I believe the second issue is caused by a different pytorch version. I'm using 1.12.1. You can do

import torch
print(torch.__version__)

to check which version you are using.

@mappro6
Copy link

mappro6 commented Dec 18, 2024

@kungfrank Hi, I use the pytorch 1.12.1, but the MultivariateNormal still does not have a log_prob_unnorm method and only log_prob can be used. Is log_prob correct for training?

@kungfrank
Copy link
Contributor

Hi @mappro6, Thank you for reporting this. The log_prob_unnorm is a custom function. Please pull the repo again to get the updated code.

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

4 participants