hbb1 / 2d-gaussian-splatting

[SIGGRAPH'24] 2D Gaussian Splatting for Geometrically Accurate Radiance Fields
https://surfsplatting.github.io
Other
1.56k stars 75 forks source link

SIBR Viewer #91

Open DuVogel87 opened 1 week ago

DuVogel87 commented 1 week ago

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!

q728yl commented 1 week ago

Me too!!!

RongLiu-Leo commented 6 days ago

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>
DuVogel87 commented 4 days ago

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\pointcloud.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.

RongLiu-Leo commented 4 days ago
-m <path to the output model folder>

It includes

Do not take out the .ply file.

DuVogel87 commented 4 days ago

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?