Skip to content

Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. #2

@ttengffei-sudo

Description

@ttengffei-sudo

Thank you for this interesting project, but we encountered the following error while running the training scenario in train.py. It appears there may be an issue with the logic in the original prefilter_voxel() function in the project. I would appreciate your guidance and advice.

Traceback (most recent call last):
File "/home/Proxy-GS/train.py", line 821, 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, args.ply_path, mesh_path=args.ply_mesh, depth_npy_dir=args.depth_npy_dir)
File "/home/Proxy-GS/train.py", line 235, in training
voxel_visible_mask, depth_m = prefilter_voxel(viewpoint_cam, gaussians, pipe, background, depth_map=depth_m)
File "/home/Proxy-GS/gaussian_renderer/init.py", line 488, in prefilter_voxel
visible_mask = (radii_pure > 0)#&pc._anchor_mask
RuntimeError: CUDA error: an illegal memory access was encountered
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions