frozoul / 4K-NeRF

Official implementation of arxiv paper "4K-NeRF: High Fidelity Neural Radiance Fields at Ultra High Resolutions"
379 stars 19 forks source link

RuntimeError: CUDA error: device-side assert triggered #6

Closed Richardych closed 1 year ago

Richardych commented 1 year ago

Hi,

I find that this code (https://github.com/frozoul/4K-NeRF/blob/a8fdc8e98b/run_sr.py#L829) in run_sr.py will cause a out of bounds error:

target_4x = rgb_srgt_train[sel_b, sel_r_4x, sel_c_4x, :]

xyIsHere commented 1 year ago

I encountered the same problem. Could you share with me the solution?

ztqwerty commented 1 year ago

Hi,

I find that this code (https://github.com/frozoul/4K-NeRF/blob/a8fdc8e98b/run_sr.py#L829) in run_sr.py will cause a out of bounds error:

target_4x = rgb_srgt_train[sel_b, sel_r_4x, sel_c_4x, :]

I encountered the same issue. How did you solve it eventually?