After git clone and setting the path of data to directory: `data/7Scenes/`, following is the command that I executed: ```python python run_nerf.py --config config_nerf.txt ``` Following is the error that I ended up with: ```python Traceback (most recent call last): File "direct-posenet/script/run_nerf.py", line 901, in <module> train() File "direct-posenet/script/run_nerf.py", line 604, in train train_dl, val_dl, hwf, i_split, bds, render_poses, render_img = load_7Scenes_dataloader_NeRF(args) File "direct-posenet/script/../dataset_loaders/load_7Scenes.py", line 489, in load_7Scenes_dataloader_NeRF stats = np.loadtxt(stats_filename) File "anaconda3/envs/directpose/lib/python3.9/site-packages/numpy/lib/_npyio_impl.py", line 1381, in loadtxt arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter, File "anaconda3/envs/directpose/lib/python3.9/site-packages/numpy/lib/_npyio_impl.py", line 997, in _read fh = np.lib._datasource.open(fname, 'rt', encoding=encoding) File "anaconda3/envs/directpose/lib/python3.9/site-packages/numpy/lib/_datasource.py", line 192, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "anaconda3/envs/directpose/lib/python3.9/site-packages/numpy/lib/_datasource.py", line 532, in open raise FileNotFoundError(f"{path} not found.") FileNotFoundError: /data/7Scenes/heads/stats.txt not found. ``` How to overcome this? Do I need to do some sort of preprocessing (as mentioned in the repo) as done in MapNet?
Activity
chenusc11 commentedon Mar 27, 2025
Hi, are you able to solve this? @Shuhul24
It looks like a path error
Please let me know if you still have the issue