NVlabs / motion-policy-networks

This repo has the expert data generation infrastructure and Pytorch implementation of MPiNets.
MIT License
119 stars 19 forks source link

Can't able to install the pointnet2_ops #14

Closed vijayraj45 closed 1 year ago

vijayraj45 commented 1 year ago

After cloned the github repo , I try to install it . But it got stuck in the Building wheel for pointnet2-ops command for long time!

Screenshot_2023-03-28-23-37-06-13

fishbotics commented 1 year ago

Building this package can take a very long time. This is because it's set up to build for multiple architectures. If you want to speed up the build process, you could change this line to only build for your architecture: https://github.com/fishbotics/pointnet2_ops/blob/v3.2.0/setup.py#L17

During the build process for the Docker container, I believe the architecture has to be specified (because the build daemon isn't able to access the GPU during build). If you want to automatically detect the architecture on your computer, you could alternatively you could delete that line and remove the package installation from the Dockerfile. This would mean that it's not build as part of the container, but you could then install it inside the docker container after you launch it. When you launch the container, it should have access to the GPU so you'd be able to infer the architecture from there.

fishbotics commented 1 year ago

I'm going to close this, but @vijayraj45 feel free to reopen if you're still having issues.