cwchenwang / NeRF-SR

NeRF-SR: High-Quality Neural Radiance Fields using Supersampling
https://cwchenwang.github.io/NeRF-SR
138 stars 13 forks source link

FileNotFoundError: [Errno 2] No such file or directory #9

Closed xqq21 closed 1 year ago

xqq21 commented 1 year ago

Thanks for your well-organized code. When I run wrap.py, an error is as follow:: File "warp.py", line 189, in ds = LLFFDataset(root_dir, result_dir, width, height) File "warp.py", line 31, in init self.read_meta() File "warp.py", line 112, in read_meta nerf_depth = np.load(os.path.join(self.result_dir, '{}-fine-depth-ori.npz'.format(i)))['arr_0'] File "/home/xqq/anaconda3/envs/nerfsf/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/nerf-sr/llff-room-378x504-ni64-dp-ds2/30_val_vis/20-fine-depth-ori.npz'

image

l can't find the file

cwchenwang commented 1 year ago

I guess your picture shows the fine_depth_ori.npz file for the fern scene? For other scenes, you can always run the first stage to obtain that file.

xqq21 commented 1 year ago

Thank you! I hit one error