|
Download data/SHAPY/mesh-mesh-intersection/docs/install.md from duyle2408/SMPLer-X2: direct link, hf CLI and curl.
- Browser
- Download file 860 Bytes
-
https://huggingface.co/duyle2408/SMPLer-X2/resolve/main/data/SHAPY/mesh-mesh-intersection/docs/install.md
- Command line
-
hf download hf://duyle2408/SMPLer-X2/data/SHAPY/mesh-mesh-intersection/docs/install.md
-
curl -L -o install.md https://huggingface.co/duyle2408/SMPLer-X2/resolve/main/data/SHAPY/mesh-mesh-intersection/docs/install.md
860 Bytes
| # 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](https://github.com/NVIDIA/cuda-samples). | |
| To install the module run the following commands: | |
| **1. Clone this repository** | |
| ```Shell | |
| git clone https://github.com/vchoutas/torch-mesh-isect | |
| cd torch-mesh-isect | |
| ``` | |
| **2. Install the dependencies** | |
| ```Shell | |
| pip install -r requirements.txt | |
| ``` | |
| **3. Run the *setup.py* script** | |
| ```Shell | |
| python setup.py install | |
| ``` | |
| ## Dependencies | |
| 1. [PyTorch](https://pytorch.org) | |
| ### Optional Dependencies | |
| 1. [Trimesh](https://trimsh.org) for loading triangular meshes | |
| 2. [open3d](http://www.open3d.org/) for visualization | |
| The code has been tested with Python 3.6, CUDA 10.0, CuDNN 7.3 and PyTorch 1.0. | |