nerfbaselines icon indicating copy to clipboard operation
nerfbaselines copied to clipboard

NeRF On-the-go installation error

Open hanyucc opened this issue 6 months ago • 2 comments

I was trying to run some experiments with NeRF On-the-go, and got this error message during the installation:

ERROR: Cannot install Pillow==11.1.0 and pillow==10.2.0 because these package versions have conflicting dependencies.

I searched in the source code and found these lines in the file nerfonthego_spec.py, which appear to be causing this error.

python -m pip install -r requirements.txt \
    "mediapy==1.2.0" \
    "opencv-python-headless==4.9.0.80" \
    "pillow==10.2.0" \
    "scipy==1.11.0" \
    "tensorboard==2.15.1" \
    plyfile==0.8.1 \
    scikit-image==0.21.0 \
    tqdm==4.66.2 \
    importlib_metadata==8.5.0 \
    typing_extensions==4.12.2 \
    wandb==0.19.1 \
    click==8.1.8 \
    Pillow==11.1.0 \
    'pytest<=8.3.4' \
    matplotlib==3.9.4

I'm wondering if this is intended or a bug in the installation script. Thanks!

hanyucc avatar Jun 21 '25 01:06 hanyucc

Hi, sorry, nerf on-the-go is not fully integrated yet. I haven't finished the implementation.

jkulhanek avatar Aug 04 '25 05:08 jkulhanek

I managed to install it with the following changes

Pillow==10.2.0 matplotlib==3.8.4

I noticed however that nerf on the go doesn't work with phototourism data because it expects the cameras to have the same dimensions. Is that an easy fix? Is it planned?

Dawars avatar Aug 04 '25 07:08 Dawars