ActiveVisionLab / nope-nerf

(CVPR 2023) NoPe-NeRF: Optimising Neural Radiance Field with No Pose Prior
https://nope-nerf.active.vision/
MIT License
372 stars 30 forks source link

gt_poses.npz #16

Open ianpark318 opened 1 year ago

ianpark318 commented 1 year ago

Hi! First of all, thanks for great work !

I want to use my own sequence for NoPe-NeRF and I made intrinsics.npz. than I typed

$ python train.py configs/default.yaml

and I faced another error FileNotFoundError: [Errno 2] No such file or directory: 'data/myscene/gt_poses.npz'.

I thought I don't need any ground truth poses for NoPe-NeRF because this model estimates both poses and NeRF.

Do I misunderstanding now? Thanks! Have a great day sir!

bianwenjing commented 1 year ago

Hi, thanks for your interest in our work. The ground truth poses are used for evaluation only. I have added the option not to load poses. Please refer to configs/Test/images.yaml for detail.

ianpark318 commented 1 year ago

Thanks Sir! However, when I tried to run

python preprocess/dpt_depth.py configs/preprocess.yaml

It says "FileNotFoundError: [Errno 2] No such file or directory: 'data/myscene/gt_poses.npz'" but I thought DPT doesn't need any ground truth poses.

Second question is, there was some lines that reads 'poses_bounds.npy', but it disappears. (I run LLFF codes to make poses_bounds.npy for my custom datas)

Thanks and have a wonderful day sir!

bianwenjing commented 1 year ago

Hi, I have updated configs/preprocess.yaml to load only images. You need to make sure cfg['dataloading']['customized_poses'] is set to False. If you want to load poses from poses_bounds.npy, please set cfg['dataloading']['load_colmap_poses'] to True.