chenhsuanlin / bundle-adjusting-NeRF

BARF: Bundle-Adjusting Neural Radiance Fields 🤮 (ICCV 2021 oral)
MIT License
793 stars 114 forks source link

I encountered some problems when I reproduced #79

Closed Lijingbohere closed 1 year ago

Lijingbohere commented 1 year ago

ImportError: cannot import name 'pytorch_ssim' from 'external.pohsun_ssim' (unknown location)。

Lijingbohere commented 1 year ago

(barf) lijingbo@Super-Server:~/bundle-adjusting-NeRF-main$ python3 train.py --group=LLFF --model=barf --yaml=barf_llff --name=room --data.scene=room --barf_c2f=[0.1,0.5] Process ID: 943114 [train.py] (PyTorch code for training NeRF/BARF) setting configurations... loading options/base.yaml... loading options/nerf_llff.yaml... loading options/barf_llff.yaml...

Timber-Ye commented 1 year ago

It seems that you probably forget to add the Git submodule, which can be done by

git submodule init
git submodule update
chenhsuanlin commented 1 year ago

Thanks @Timber-Ye. Please follow the README to initialize the submodules with

git submodule update --init --recursive