thangvubk / SoftGroup

[CVPR 2022 Oral] SoftGroup for Instance Segmentation on 3D Point Clouds
MIT License
339 stars 80 forks source link

Install issues #179

Closed SARIHUST closed 10 months ago

SARIHUST commented 1 year ago

Hi, thanks for your great work! I am trying to run the SoftGroup model on a public server. As I do not have the root access, I am unable to perform:

sudo apt-get install libsparsehash-dev

I tried to use conda to install sparsehash and google-sparse hash hoping that they could replace libsparsehash-dev. However, later during the setup procedure, I encountered the following problem:

error: google/dense_hash_map: No such file or directory
compilation terminated.

I searched for solutions and it seems that all I can find is to run sudo apt-get install libsparsehash-dev, which I can't do for now. So I want to know if there is anything I can do instead. Thank you very much.

Pixie8888 commented 10 months ago

Hi, I also encountered same problem. Did you solve it?

thangvubk commented 10 months ago

If you dont have root permission you can install as follow

conda install -c bioconda google-sparsehash 
export CPLUS_INCLUDE_PATH={conda_env_path}/softgroup/include:$CPLUS_INCLUDE_PATH
python setup.py build_ext develop
Pixie8888 commented 10 months ago

If you dont have root permission you can install as follow

conda install -c bioconda google-sparsehash 
export CPLUS_INCLUDE_PATH={conda_env_path}/softgroup/include:$CPLUS_INCLUDE_PATH
python setup.py build_ext develop

Thanks! It works!