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

Unable to unpickle .pkl file #5

Open
lurock12 opened this issue Mar 11, 2024 · 2 comments
Open

Unable to unpickle .pkl file #5

lurock12 opened this issue Mar 11, 2024 · 2 comments

Comments

@lurock12
Copy link

Hey,
I am relatively new to the field of computer vision, so this may be a beginner's question:
After running your code it outputs a .pkl file. I was not able to unpickle it.
I was assuming to get a .ply file to view the model in SIBR or similar.
How can I access the .ply file?

Thanks in advance.

@Pixelgamer72
Copy link

Did you ever find out how to do it?

@Pixelgamer72
Copy link

Pixelgamer72 commented Jun 6, 2024

If you look into the train_eval.py file, there are the lines that save the finished set. If you find the ones with .compressed on with ctrl f there are lines above or below with # . remove the # and from them then add the # to the lines that say compressed. when you next run it saves as a .ply file

instead of scene.save_best.compressed()
it would be scene.save_best() -> i assume removing the # is what you are meant to do, i just removed any compressed arguments from them, there are some other commented lines that I am not sure of the purpose like:

  • best_state_dict = gaussians.capture_best_state()

  • gaussians.restore_best_state(best_state_dict, opt)

i didnt uncomment these, just removed the .compressed from the others

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

2 participants