city-super / Octree-GS

Octree-GS: Towards Consistent Real-time Rendering with LOD-Structured 3D Gaussians
Other
583 stars 39 forks source link

在运行bash train_mipnerf360.sh出现的问题 #41

Closed CBDXS1 closed 4 months ago

CBDXS1 commented 4 months ago

AttributeError: 'GaussianRasterizer' object has no attribute 'visible_filter'

Traceback (most recent call last): File "train.py", line 559, in training(lp.extract(args), op.extract(args), pp.extract(args), dataset, args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, wandb, logger) File "train.py", line 141, in training voxel_visible_mask = prefilter_voxel(viewpoint_cam, gaussians, pipe, background) File "/home/zc107552403943/Octree-GS/gaussian_renderer/init.py", line 267, in prefilter_voxel radii_pure = rasterizer.visible_filter(means3D = means3D, File "/home/zc107552403943/anaconda3/envs/4dgs2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1709, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'") AttributeError: 'GaussianRasterizer' object has no attribute 'visible_filter' Training progress: 0%| | 0/40000 [00:00<?, ?it/s 不知道是不是版本的问题

jianglh-WHU commented 4 months ago

well, you need to recompile the diff-gaussian-rasterization.

CBDXS1 commented 4 months ago

十分感谢十分感谢,我现在就试试

KZI-22 commented 5 days ago

有用吗xd

tongji-rkr commented 5 days ago

https://github.com/tongji-rkr/diff-gaussian-rasterization