kerrj / lerf

Code for LERF: Language Embedded Radiance Fields
https://www.lerf.io/
MIT License
668 stars 65 forks source link

'ModuleNotFoundError: No module named 'nerfstudio.viewer.viewer_elements'' #75

Open br0202 opened 9 months ago

br0202 commented 9 months ago

Hi, Thank you for sharing the code. I don't have the problem before when using nerfstudio but after run '2. Install this repo as a python package Navigate to this folder and run python -m pip install -e .' , I am having this error: 'ModuleNotFoundError: No module named 'nerfstudio.viewer.viewer_elements'', although using the same Docker as before. Do you have any clue about this problem? Thanks!

Theo-Accenture commented 8 months ago

From what I gather this seems to be stemming from a version mismatch between lerf and nerfstudio. this commit changed the path bindings for the import.

I was able to solve the issue for myself by installing from the previous commit:

pip install git+https://github.com/kerrj/lerf.git@f1c7832d8fd488423aa2e9e69a23160d31c4332c