krrish94 / nerf-pytorch

A PyTorch re-implementation of Neural Radiance Fields
Other
872 stars 123 forks source link

How can windows install "torchsearchsorted" #7

Closed issac-cyber closed 4 years ago

issac-cyber commented 4 years ago

Any idea how can windows install torchsearchsorted? I have no idea. What operating system do u guys running (Sorry i am day 1 to programming)

krrish94 commented 4 years ago

The various options available for setup (eg. https://github.com/krrish94/nerf-pytorch#option-1-using-pip and https://github.com/krrish94/nerf-pytorch#option-2-using-conda) should automatically install all dependencies (including torchsearchsorted).

Admittedly, I haven't tested on Windows, but let me know if there's further issues.

krrish94 commented 4 years ago

As an aside, you might be using an older version of this repo? The newer version should install all deps automatically.

kwea123 commented 4 years ago

Colab is your good friend.

issac-cyber commented 4 years ago

Thanks everyone, i have tried so many way to install it in Win10 but no luck, no i am running this code on ubuntu 18.04 now, works very well (I gave up)

pnivek commented 2 years ago

I had issues as well. But I was able to get it working after installing missing dependencies. For me I needed the C++ 14 build tools (make sure to tick the c++ stuff in the installer). If you want to use your GPU you also need to make sure you have the right version of cuda tool kit installed when running the setup.py (for torchsearchsorted). Otherwise it will just use your CPU.