Closed 23hyun closed 1 year ago
Hi! How did you solve this problem? Thanks!
This issue is due to the lack of example data. To resolve this, please run the following command to download the example data first:
bash download_example_data.sh
After downloading the data, you should be able to run the command successfully:
python run_nerf.py --config configs/lego.txt
These steps are mentioned in README.md
(sehyun) C:\Windows\System32\nerf-pytorch>python run_nerf.py --config configs/lego.txt Traceback (most recent call last): File "C:\Windows\System32\nerf-pytorch\run_nerf.py", line 878, in
train()
File "C:\Windows\System32\nerf-pytorch\run_nerf.py", line 570, in train
images, poses, render_poses, hwf, i_split = load_blender_data(args.datadir, args.half_res, args.testskip)
File "C:\Windows\System32\nerf-pytorch\load_blender.py", line 41, in load_blenderdata
with open(os.path.join(basedir, 'transforms{}.json'.format(s)), 'r') as fp:
FileNotFoundError: [Errno 2] No such file or directory: './data/nerf_synthetic/lego\transforms_train.json'