Skip to content
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

Error: python setup.py bdist_wheel #17

Open
willy8898 opened this issue May 16, 2022 · 3 comments
Open

Error: python setup.py bdist_wheel #17

willy8898 opened this issue May 16, 2022 · 3 comments

Comments

@willy8898
Copy link

willy8898 commented May 16, 2022

I met several problems when I tried to compile spconv.
List them below for someone encounters the same problem.

Environment:

  • Python 3.7.0
  • Pytorch 1.1.0
  • CUDA 10.1
  1. pybind11 does not contain a CMakeLists.txt file.-- Configuring incomplete, errors occurred!
  • solution:
    Clone the file folder from here to lib/spconv/third_party/pybind11

  1. fatal error: boost/geometry.hpp: No such file or directory
  • solution:
    Install the boost with following command:
sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-dev

In this case, it seems that the $INCLUDE_PATH$ is no need to specify manually.
Note: I reference from here and here


  1. nms.h:140:11: error: cout is not a member of std
  • solution:
    Find the nms.h and follow here

Other issue when compiling pointgroup_ops :

  1. error: google/dense_hash_map: No such file or directory
  • solution:
    Check here
apt-get install libsparsehash-dev

Update:

  1. After compiling finished, I met the following error:
    RuntimeError: CUDA error: invalid argument
  • Solution:
    uninstall pytorch and torchvision(install by pip)
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch

Then, recompile the spconv and pointgroup_ops.


Other issues solving reference 1
Other issues solving reference 2

@willy8898
Copy link
Author

The testing result with pretrained model:
image

@Rurouni-z
Copy link

Rurouni-z commented Oct 14, 2023

great work! and i want to add a solution too.
if you get ModuleNotFoundError: No module named 'spconv'
you should cd lib/spconv/dist
and pip install spconv-xx

@Rurouni-z
Copy link

Rurouni-z commented Oct 15, 2023

RuntimeError: CUDA error: invalid argument
i still got this error sadddd

i finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants