duyle2408's picture
upload data
0a95064 verified

Installation

Before installing anything please make sure to set the environment variable $CUDA_SAMPLES_INC to the path that contains the header helper_math.h, which can be found in the repo CUDA Samples repository. To install the module run the following commands:

1. Clone this repository

git clone https://github.com/vchoutas/torch-mesh-isect
cd torch-mesh-isect

2. Install the dependencies

pip install -r requirements.txt 

3. Run the setup.py script

python setup.py install

Dependencies

  1. PyTorch

Optional Dependencies

  1. Trimesh for loading triangular meshes
  2. open3d for visualization

The code has been tested with Python 3.6, CUDA 10.0, CuDNN 7.3 and PyTorch 1.0.