NeRFusion icon indicating copy to clipboard operation
NeRFusion copied to clipboard

RuntimeError: CUDA error: invalid configuration argument

Open jzhzhang opened this issue 3 years ago • 2 comments

Hi, thanks for sharing the code. I just test the code:

python train.py --dataset_name scannet --root_dir scene0000_01 --exp_name exp --val_only --ckpt Scannet0000_01.ckpt

And i get the following error:

  File "/home/user/projects/NeRFusion/models/nerfusion.py", line 172, in sample_uniform_and_occupied_cells
    cells += [(torch.cat([indices1, indices2]), torch.cat([coords1, coords2]))]
RuntimeError: CUDA error: invalid configuration argument

The indices2 and coords2 are Size([0]) and Size([0,3]), respectively. It seems to be a BUG and could you give me some quick advice to fix this?

jzhzhang avatar Oct 14 '22 15:10 jzhzhang

Thanks for this feedback. Can you provide more information? Are you using the provided data and checkpoint? How many computing devices are you using?

jetd1 avatar Oct 18 '22 23:10 jetd1

I use cu113+torch12.0.1, and installed dependencies, but an error occurs when importing vren: vren.cpython-38-x86_64-linux-gnu.so: undefined symbol: _zn2at4_ops5zeros4callen3c108arrayrefins2_6syminteeens2_8optionalins2_10scalartypeeeens6_ins2_6layouteeens6_ins2_6deviceeeens6_ibee >>> Can anyone tell me how to do this?

Bin-ze avatar Mar 01 '23 10:03 Bin-ze