instant-ngp icon indicating copy to clipboard operation
instant-ngp copied to clipboard

How to view the rendered scene and mesh for nerf in Colab

Open ishandutta04 opened this issue 2 years ago • 2 comments

Hi, I am using the colab notebook provided in the FAQ to train on the fox images.

Notebook Link

Even after I use n_steps=10 the training concludes but I cannot find the rendered scene or the mesh. How to obtain it in colab?

ishandutta04 avatar Jun 27 '22 16:06 ishandutta04

You need to specify the screenshot_dir and save_mesh

!python scripts/run.py --scene data/nerf/fox/ --mode nerf --screenshot_dir /content/screenshots --save_mesh fox.ply --n_steps 10

junxiant avatar Jun 29 '22 01:06 junxiant

@junxiant The exported .ply mostly is very hard to comprehend. If I zoom in I only see triangles and I cannot make out where the fox is. Are there any settings to view this better?

dmoham1476 avatar Jan 11 '23 00:01 dmoham1476

@junxiant导出的 .ply 大多很难理解。如果我放大我只能看到三角形,我无法辨认出狐狸在哪里。是否有任何设置可以更好地查看此内容?

If you can't display the visual interface, you can only save the file with the above command

wangzika avatar Jan 11 '23 08:01 wangzika

@junxiant The exported .ply mostly is very hard to comprehend. If I zoom in I only see triangles and I cannot make out where the fox is. Are there any settings to view this better?

Have you tried to zoom out as much as possible? Sometimes the 3D object is too big for the default zoom settings. How does the current file look like?

junxiant avatar Jan 11 '23 09:01 junxiant