nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

AssertionError on pynerf pointcloud export

Open fabfabsto opened this issue 1 year ago • 1 comments

Describe the bug I trained a NeRF with pynerf, now when I try to export it as point cloud I do get an AssertionError.

Traceback (most recent call last): File "..\anaconda3\envs\nerfstudio\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "..\anaconda3\envs\nerfstudio\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "..\anaconda3\envs\nerfstudio\Scripts\ns-export.exe_main.py", line 7, in sys.exit(entrypoint()) File "..\nerfstudio\nerfstudio\scripts\exporter.py", line 564, in entrypoint tyro.cli(Commands).main() File "..\nerfstudio\nerfstudio\scripts\exporter.py", line 139, in main assert isinstance(pipeline.datamanager, (VanillaDataManager, ParallelDataManager)) AssertionError

To Reproduce Steps to reproduce the behavior:

  1. run ns-train pynerf nerfstudio-data
  2. run ns-export pointcloud --load-config outputs\unnamed\pynerf\2024-01-25_133611\config.yml --output-dir exports/pcd/ --num-points 1000000 --remove-outliers True --normal-method open3d --use_bounding_box False --save-world-frame False --obb_center 0.0000000000 0.0000000000 0.0000000000 --obb_rotation 0.0000000000 0.0000000000 0.0000000000 --obb_scale 1.0000000000 1.0000000000 1.0000000000
  3. See error

Expected behavior nerfstudio should export a pointcloud .ply

Additional context I work with nerfstudio 1.0.0 and pynerf commit f841483

fabfabsto avatar Jan 26 '24 10:01 fabfabsto

I got the same error, no solution so far

luishresende avatar Mar 05 '24 03:03 luishresende