ayaanzhaque / instruct-nerf2nerf

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

ModuleNotFoundError: No module named 'torchtyping' #41

Closed papicrunch closed 1 year ago

papicrunch commented 1 year ago

Hi, I'm getting a ModuleNotFoundError: No module named 'torchtyping' error after installing Instruct Nerf2Nerf. I followed the installation process from https://docs.nerf.studio/en/latest/nerfology/methods/in2n.html, and it completed without any errors. Now, every time I try the command "ns-train nerfacto --data data/nerfstudio/poster," I encounter an error (it was working before).

It seems to simply "pip install torchtyping" resolve the problem. ( thanks tancik )

I post here to just keep a track

ayaanzhaque commented 1 year ago

Ya so nerfstudio moved away from torchtyping but I haven't changed it in this repo yet. I'm working on it now and will comment once I'm finished with that.

ayaanzhaque commented 1 year ago

Hi @papicrunch, I've swapped all the old torchtyping to jaxtyping now. You can pull the most recent code and everything should run smoothly. Let me know if there are any other issues.