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

How to visualize the results #45

Open
AutonomierLong opened this issue Aug 5, 2024 · 3 comments
Open

How to visualize the results #45

AutonomierLong opened this issue Aug 5, 2024 · 3 comments

Comments

@AutonomierLong
Copy link

After training, I've got the gaussian model file(.pth) and a camera.json in my output folder, how can I visualize them as a video?

@kevinliu-ez
Copy link

I got the same problem. how to show .pth? any viewer available? thanks

@sorceressyidi
Copy link

sorceressyidi commented Dec 17, 2024

I encountered the same issue and implemented a solution to render the trained .pth into a video.
This implementation is based on the method in 2d-gaussian-splatting/render.py.

I’ve implemented it in : https://github.com/sorceressyidi/4d-gaussian-splatting.

To use it:

Clone the repository and follow the README to install dependencies.
Run the script with:

python main.py --config ./configs/dynerf/cook_spinach_test.yaml

Note: You should change source path/checkpoint path to your own path here: cook_spinach_test.yaml and you here's only an example on the cook_spinach scene, you can modify the config for other scenes

@hhxphh
Copy link

hhxphh commented Jan 10, 2025

I encountered the same issue and implemented a solution to render the trained .pth into a video. This implementation is based on the method in 2d-gaussian-splatting/render.py.

I’ve implemented it in : https://github.com/sorceressyidi/4d-gaussian-splatting.

To use it:

Clone the repository and follow the README to install dependencies. Run the script with:

python main.py --config ./configs/dynerf/cook_spinach_test.yaml

Note: You should change source path/checkpoint path to your own path here: cook_spinach_test.yaml and you here's only an example on the cook_spinach scene, you can modify the config for other scenes

我使用了您的代码用于测试已训练好的模型,但渲染速度很慢,这是原算法本身的问题吗?但原作者在论文里说渲染速度有100+FPS
我又使用了#12的代码
https://github.com/fudan-zvg/4d-gaussian-splatting/issues/12
但渲染速度依旧很慢,大约1-2FPS

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