nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.37k stars 113 forks source link

No module named 'lpips' #225

Closed Kane-LAU closed 1 year ago

Kane-LAU commented 1 year ago

when i run dynamic scene example, triggle bug as below:

Traceback (most recent call last): File "/content/nerfacc/examples/train_mlp_tnerf.py", line 16, in from lpips import LPIPS ModuleNotFoundError: No module named 'lpips'

liruilong940607 commented 1 year ago

Hi you need to install dependence here before running the examples:

https://github.com/KAIR-BAIR/nerfacc/blob/master/examples/requirements.txt

Kane-LAU commented 1 year ago

Hi you need to install dependence here before running the examples:

https://github.com/KAIR-BAIR/nerfacc/blob/master/examples/requirements.txt

Thank you very much, it worked! Have you considered providing a Colab example, such as training a static or dynamic scene? It would be very intuitive and convenient for newcomers. :)

liruilong940607 commented 1 year ago

That would be great but we actually have another repo nerfstudio, which is very friendly for starters with many functionality (even viewer).

Kane-LAU commented 1 year ago

That would be great but we actually have another repo nerfstudio, which is very friendly for starters with many functionality (even viewer).

ok. I encountered another issue when attempting to train DNERF example . I found that there is no dataset available. Where can I download a dataset?

atasets/dnerf_synthetic.py", line 28, in _load_renderings
    with open(
FileNotFoundError: [Errno 2] No such file or directory: '/content/nerfacc/examples/datasets/../../data/dnerf/lego/transforms_train.json
liruilong940607 commented 1 year ago

You can find D-NeRF dataset here: https://github.com/albertpumarola/D-NeRF#download-dataset

Kane-LAU commented 1 year ago

You can find D-NeRF dataset here: https://github.com/albertpumarola/D-NeRF#download-dataset

great!