-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pointops module - cuda extensions on windows #20
Comments
I was able to do it after commenting the following lines in setup.py: from distutils.sysconfig import get_config_vars (opt,) = get_config_vars('OPT') These modules are used on many point cloud NN architectures. |
Thanks for your replay ! I figured out that the opt variable don’t exist on windows and i commented those lines too, still have a problem with cuda_home var path, any suggestions about the environment ( conda pip ) , you run it using visual studio / anaconda .. command prompt ? Thanks :) |
You should make sure you have cuda installed on windows (either original CUDA installation or via conda cudatoolkit). Also make sure you installed every step in init.sh until the actual python setup.py install in pointops folder |
thanks a lot, i maid it work, i just used conda instead of pip to install the required libs and it failed :/, using pip as mentioned in init.sh worked fine :) ! |
You are welcome. The next problem you might face may be what I am facing right now: SharedArray module for windows. |
i resolved it, you can get rid of it (one simple function sa_create in dataset class that you can change), i will share my code :) |
Sorry for my late reply, I’m using S3DIS dataset which i already have ( I’ve downloaded it and preprocessed it following the steps mentioned here ), it’s the same result as in this repo ( you finally get NPY files of parts of different areas 1…6). Then i made few changes to replace SharedArray.
|
Thanks so much @anassmu. |
root@I107146740100401834:/hy-tmp/RepSurf-main/segmentation# sh scripts/s3dis/train_repsurf_umb.sh |
@fenfenglitech It seems you didn't install pointops_cuda properly. cd modules/pointops If you are running it on windows you might need to change the setup.py as following:
Make sure you have the anaconda env with cuda support. |
@raespanha thank you, i have sovled my problem. |
for the segmentation modules, i didn't manage to install pointops module on windows, any help ? on ubunut it worked just fine.
did anyone managed to install this on windows ? and make it work ?
Thanks a lot.
The text was updated successfully, but these errors were encountered: