Skip to content

LeonLiu4/coacd

Repository files navigation

# CoACD Parameter Optimization with RL

This repository uses reinforcement learning to find optimal parameters for CoACD convex decomposition on a given mesh.

## Quick Start

1. **Clone the repository**

   ```bash
   git clone https://github.com/LeonLiu4/coacd.git --recursive
   cd coacd
  1. Create and activate the environment

    conda env create -f environment.yml
    conda activate coacd_env
  2. Install PyTorch3D

    • Linux

      pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
    • macOS

      export KMP_DUPLICATE_LIB_OK=TRUE
      pip install --no-build-isolation --no-deps \
        git+https://github.com/facebookresearch/pytorch3d.git@stable
      unset KMP_DUPLICATE_LIB_OK
  3. Run training

    # CPU only
    CUDA_VISIBLE_DEVICES= python -m coacd_ppo_train --device cpu
    
    # GPU
    python -m coacd_ppo_train

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages