ripl / nerfuser

NeRFuser
Other
100 stars 6 forks source link

'NoneType' object has no attribute 'point_size' #4

Closed nihao-eng closed 1 year ago

nihao-eng commented 1 year ago

When I run python -m nerfuser.prep_data I get the following error. May I ask how to solve it? I am using the three videos you provided A, B, C, Test

Traceback (most recent call last): File "/home/zzu/anaconda3/envs/nerfuser/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/zzu/anaconda3/envs/nerfuser/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/zzu/w+1/nerfuser/nerfuser/prep_data.py", line 191, in tyro.cli(main) File "/home/zzu/anaconda3/envs/nerfuser/lib/python3.10/site-packages/tyro/_cli.py", line 177, in cli output = _cli_impl( File "/home/zzu/anaconda3/envs/nerfuser/lib/python3.10/site-packages/tyro/_cli.py", line 430, in _cli_impl out, consumed_keywords = _calling.call_from_args( File "/home/zzu/anaconda3/envs/nerfuser/lib/python3.10/site-packages/tyro/_calling.py", line 204, in call_from_args return unwrapped_f(*positional_args, **kwargs), consumed_keywords # type: ignore File "/home/zzu/w+1/nerfuser/nerfuser/prep_data.py", line 172, in main vis = Visualizer(show_frame=True) File "/home/zzu/w+1/nerfuser/nerfuser/utils/visualizer.py", line 17, in init self.o3d_vis.get_render_option().point_size = pt_size AttributeError: 'NoneType' object has no attribute 'point_size'

shengjie-lin commented 1 year ago

try using open3d 0.16 instead of 0.17 pip install open3d==0.16

shengjie-lin commented 1 year ago

Maybe related solution.