ayaanzhaque / instruct-nerf2nerf

Instruct-NeRF2NeRF: Editing 3D Scenes with Instructions (ICCV 2023)
https://instruct-nerf2nerf.github.io/
MIT License
792 stars 70 forks source link

ModuleNotFoundError: No module named 'nerfstudio.viewer.server.viewer_elements' #35

Closed rockywind closed 1 year ago

rockywind commented 1 year ago

Hi, thank you for sharing the great work! I met the error below! Can you help me?

│                                                                                                  │
│    20 import torch                                                                               │
│    21 from typing_extensions import Literal                                                      │
│    22 from nerfstudio.pipelines.base_pipeline import VanillaPipeline, VanillaPipelineConfig      │
│ ❱  23 from nerfstudio.viewer.server.viewer_elements import ViewerNumber, ViewerText              │
│    24                                                                                            │
│    25 from in2n.in2n_datamanager import (                                                        │
│    26 │   InstructNeRF2NeRFDataManagerConfig,                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'nerfstudio.viewer.server.viewer_elements'
ayaanzhaque commented 1 year ago

Do you have the newest version of nerfstudio installed? How have you installed this repository?

ayaanzhaque commented 1 year ago

I have changed the pyproject.toml to force the newest version of Nerfstudio to be installed. Please reinstall the repository and your issue should be fixed.