Installation
October 14, 2022 ยท View on GitHub
Requirements
All the codes are tested in the following environment:
- Python 3.6+
- PyTorch 1.5
- CUDA 10.2
- spconv v1.2
Install dependent libraries
a. Clone this repository.
git clone https://github.com/CVMI-Lab/DODA.git
b. Install the dependent libraries as follows:
-
Install the dependent python libraries:
pip install -r requirements.txt -
Install
spconv v1.2followingpointgroup_ops. Notice that there are some modifications that makes the gradient output contiguous. -
Install
pointgroup_ops:conda install -c bioconda google-sparsehash cd lib/pointgroup_ops python3 setup.py develop export LD_LIBRARY_PATH=/your_path_to_python_env/:LD_LIBRARY_PATHif you encounter any problems in th installing process, please refer to PointGroup for assistance.
-
Install
pointops:cd lib/pointops2 python3 setup.py develop