EasyVolcap icon indicating copy to clipboard operation
EasyVolcap copied to clipboard

examples on windows without development install (and a shell question)

Open meeotch opened this issue 10 months ago • 7 comments

Sorry for the n00b questions... I'm trying to play around with EVC on Windows 10, using miniconda and git bash. I've successfully installed CUDA-enabled pytorch manually, and the non-development dependencies with pip install -e . evc-gui seems to run.

However, when I get to the Examples section, and run evc -c configs/exps/l3mhet/l3mhet_actor1_4_subseq.yaml, it fails after loading the images, because tinycudann isn't installed:

2024-04-04 19:39:33.523469 easyvolcap.utils.console_utils  console_utils.py:391
                           -> inner: Runtime exception: No
                           module named 'tinycudann'
+--------------------- Traceback (most recent call last) ---------------------+
| Z:\zod\splat-ez\EasyVolcap\easyvolcap\utils\console_utils.py:388 in inner   |
|                                                                             |
| > 388                 return func(*args, **kwargs)         

As far as I can tell, tinycudann is part of the development dependencies, requiring CUDA Toolkit, which requires Visual Studio, etc. (I have read install.md)

Similarly, python scripts/fusion/volume_fusion.py -- -c configs/exps/l3mhet/l3mhet_actor1_4_subseq.yaml val_dataloader_cfg.dataset_cfg.ratio=0.15 fails to find open3d, which is another development dependency.

Is this correct? Are full development dependencies required to run the examples? (And if so, what is the purpose of the non-development install?)

Unrelated question: both of the above also fail at the end with: NoConsoleScreenBufferError: Found xterm, while expecting a Windows console. Maybe try to run this program using "winpty" or run it in cmd.exe instead. Or otherwise, in case of Cygwin, use the Python executable that is compiled for Cygwin.

I understand that this is a limitation of MINGW64 shells, like git bash. (Though evc-gui does run from git bash.) What shell are people successfully using under Windows? The stock cmd.exe is a nightmare - I much prefer a linux-like shell.

meeotch avatar Apr 05 '24 00:04 meeotch