FoundationPose icon indicating copy to clipboard operation
FoundationPose copied to clipboard

Building on Windows

Open 52THANOS opened this issue 1 year ago • 3 comments

I’m wondering if this project can be installed on a Windows system. i have problem with pin==2.7.0 and python -m pip install --quiet --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu118_pyt200/download.html

52THANOS avatar Apr 01 '24 05:04 52THANOS

On windows, I'd highly recommend using docker.

wenbowen123 avatar Apr 02 '24 19:04 wenbowen123

On windows, I'd highly recommend using docker.

it's quiet complex to debug in docker.

52THANOS avatar Apr 03 '24 08:04 52THANOS

Hey @52THANOS,

I think it is even more complex to install all the required dependencies in Windows. :sweat_smile:

Regarding your issue:

python -m pip install --quiet --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py39_cu118_pyt200/download.html

This will not work on Windows because it tries to install a wheel that is built for Linux. If you want to install on Windows, you need to install from source, see the PyTorch3D install documentation. (This will probably also be the case for other dependencies as well.)

If using Docker is not an option for you and you can't install Linux on your local machine, I would recommend using one of the many cloud GPU providers. I use Genesis Cloud for a lot of testing (0.25$/h on a RTX3090). I had no problems running FoundationPose on there, just note #38.

If this is an option for you and you have any questions or problems, please let me know and maybe I can help.

savidini avatar Apr 10 '24 09:04 savidini