hbb1/2d-gaussian-splatting

SIBR Viewer

DuVogel87 opened this issue · 12 comments

If downloaded the pre-built viewer for windows (GS Monitor)

I am able to execute the <path to downloaded/compiled viewer>/bin/SIBR_remoteGaussian_app_rwdi command. This opens up the viewer like this:

anaconda cmd line execution
sibr viewer

The documentation says that i should now execute this command:

python view.py -s -m

Here i stuck because:

  1. i am not able to type anything in the command line which i use to start sibr viewer
  2. i looked everywhere in the pre-built viewer directory and can not find a "view.py" file

As i said, i am stuck and would appreciate any kind of help here.

Thanks!

Me too!!!

It requires two separate terminals.

  1. A terminal for this Interactive Viewer
  2. Another terminal runs the project scripts.

What you are showing indicates you have opened the viewer correctly, and it is trying to connect another terminal runs the train.py or view.py
Open another terminal and try scripts under the root of 2DGS project folder like

(surfel_splatting) ~\2d-gaussian-splatting>python train.py -s <path to dataset>
(surfel_splatting) ~\2d-gaussian-splatting>python view.py -s <path to dataset> -m <path to trained model>

Thanks for your help. I am almost there. Your suggestions worked but now i face the issue, that the terminal Connected and Connection dropped

In the second terminal i get a message No such file or directory found: 'C:/2DGS/2d-gaussian-splatting/viewer\point_cloud\iteration_30000\point_cloud.ply
This is strange to me, because i never said C:/2DGS/2d-gaussian-splatting/viewer\point_cloud\iteration_30000\point_cloud.ply

As you can see i entered python view.py -s C:/2DGS/2d-gaussian-splatting/Projekte/KircheV2 -m C:/2DGS/2d-gaussian-splatting/viewer

The -s C:/2DGS/2d-gaussian-splatting/Projekte/KircheV2 is were distorted, images, input, sparse, stereo, run-colmap-geometrics, run-colmap-photometric is.

The C:\2DGS\2d-gaussian-splatting\viewer is were the point_cloud.ply file lies.

I will attach the screenshots now:

connection dropped

no such file or directory

In the screenshot above you can read that the terminal says Loading trained model at iteration 30000

Again, i am stuck and would appreciate your help. Thanks.

-m <path to the output model folder>

It includes

  • point_cloud (A folder)
  • camera.json
  • etc.

Do not take out the .ply file.

Now i am stuck here:

loading test camera

initializing raycaster

nothing happens. the sibr viewer window stays black. nothing appears.

i run the command C:\2DGS\2d-gaussian-splatting>python view.py -s Projekte/KircheV2 -m C:/2DGS/2d-gaussian-splatting/output/KircheV21000iter

whats wrong now?

Could you print all the information showed in both terminals when you got stuck?
Also screen shot two folders that are input to -s and -m.

This is the 2d gaussian_splatting terminal output:

(gaussian_splatting) C:\2DGS\2d-gaussian-splatting>python view.py -s "C:\2DGS\2d-gaussian-splatting\Projekte\KircheV2" -m "C:\2DGS\2d-gaussian-splatting\output\KircheV21000iter\point_cloud\iteration_30000\point_cloud.ply" View: C:\2DGS\2d-gaussian-splatting\output\KircheV21000iter\point_cloud\iteration_30000\point_cloud.ply Loading trained model at iteration 30000 Reading camera 282/282 Loading Training Cameras [ INFO ] Encountered quite large input images (>1.6K pixels width), rescaling to 1.6K. If this is not desired, please explicitly specify '--resolution/-r' as 1

This is the GS Monitor terminal output:

`(gaussian_splatting) C:\2DGS\2d-gaussian-splatting\viewer>cd..

(gaussian_splatting) C:\2DGS\2d-gaussian-splatting>cd..

(gaussian_splatting) C:\2DGS>cd GS_Monitor

(gaussian_splatting) C:\2DGS\GS_Monitor>cd install

(gaussian_splatting) C:\2DGS\GS_Monitor\install>cd bin

(gaussian_splatting) C:\2DGS\GS_Monitor\install\bin>SIBR_remoteGaussian_app_rwdi.exe
[SIBR] -- INFOS --: Initialization of GLFW
[SIBR] -- INFOS --: OpenGL Version: 4.6.0 NVIDIA 555.99[major: 4, minor: 6]
[SIBR] -- INFOS --: Trying to connect...
[SIBR] -- INFOS --: Connected!
[SIBR] -- INFOS --: Connection dropped
[SIBR] -- INFOS --: Trying to connect...
`

Screenshots:

colmap path
trained model path

Is there anything new? I also am stuck at "Loading Test Cameras". Exactly, the code is stuck Here. I have checked that the connection is good. @RongLiu-Leo @DuVogel87

No. Not until now.

It requires two separate terminals.

  1. A terminal for this Interactive Viewer
  2. Another terminal runs the project scripts.

What you are showing indicates you have opened the viewer correctly, and it is trying to connect another terminal runs the train.py or view.py Open another terminal and try scripts under the root of 2DGS project folder like

(surfel_splatting) ~\2d-gaussian-splatting>python train.py -s <path to dataset>
(surfel_splatting) ~\2d-gaussian-splatting>python view.py -s <path to dataset> -m <path to trained model>

hi, this work has been done, that i have run the train.py in CUDA environment surfel_splatting. so how to connect this two separate terminals? my issue is same as the first issue.

-m <path to the output model folder>

It includes

  • point_cloud (A folder)
  • camera.json
  • etc.

Do not take out the .ply file.

i run the code: PS C:\Users\ZZHA\Downloads\install\bin> ./SIBR_remoteGaussian_app_rwdi -m C:\Users\ZZHA\Desktop\ours_30000

but the error is:

image

hbb1 commented

Thank you for all the discussion. I don't have a Windows for this. But I found an useful reviewer that supports 2DGS https://github.com/mkkellogg/GaussianSplats3D/releases/tag/v0.4.3