NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.57k stars 1.89k forks source link

Uncaught exception: cudaMallocArray() failed: invalid argument #1541

Open yoponchik opened 2 months ago

yoponchik commented 2 months ago

I am getting an error when running the instant-ngp.exe

(ngp) C:\Users\ITAEC\Documents\Github\instant-ngp>C:\Users\ITAEC\Documents\Github\instant-ngp\build\instant-ngp.exe --scene /data/lab/horizontal
13:02:48 SUCCESS  Initialized CUDA 11.8. Active GPU is #0: NVIDIA GeForce RTX 4090 [89]
13:02:48 INFO     Loading NeRF dataset from
13:02:48 INFO       data\lab\horizontal\transforms.json
13:02:49 SUCCESS  Loaded 766 images after 0s
13:02:49 INFO       cam_aabb=[min=[-1.31375,-0.888154,0.355396], max=[1.94283,2.02124,0.908331]]
13:02:50 SUCCESS  Initialized OpenGL version 4.6.0 NVIDIA 552.22
13:02:50 INFO     Loading network config from: .\configs\nerf\base.json
13:02:50 INFO     GridEncoding:  Nmin=16 b=3.28134 F=4 T=2^19 L=8
13:02:50 INFO     Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1
13:02:50 INFO     Color model:   3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3
13:02:50 INFO       total_encoding_params=13194816 total_network_params=10240
13:02:51 ERROR    Uncaught exception: C:\Users\ITAEC\Documents\Github\instant-ngp\src\render_buffer.cu:69 cudaMallocArray(&m_array, &desc, size.x, size.y, cudaArraySurfaceLoadStore) failed: invalid argument