ae28d55f81
Source: RGB-D -> Dyn-HaMR -> L20 retargeting -> FoundationPose -> reference repair -> SPIDER, documented in docs/PIPELINE_LATEST.md and docs/SETUP_AND_WEIGHTS.md. Adds FoundationPose and nvdiffrast upstream snapshots, requirements/pipeline_venv.txt and the FoundationPose weight manifest/downloader. Assets (Git LFS): weights/ (WiLoR detector, HandFlow denoiser, UniDepth-L), FoundationPose checkpoints, HaMeR checkpoint, Dyn-HaMR HMP model and BMC constraints, L20 URDF/meshes, the 20260915_171525 D405 recording and the two box CADs. MANO models are not redistributed (third_party/hamer/_DATA/data/mano/README.txt). Environments, caches and run outputs excluded. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
24 lines
708 B
Bash
Executable File
24 lines
708 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build native extensions for a local conda environment.
|
|
# BundleSDF CUDA ops (bundlesdf/mycuda) are omitted; model-free NeRF path needs them separately.
|
|
set -euo pipefail
|
|
|
|
PROJ_ROOT="$(cd -- "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
|
|
|
: "${CONDA_PREFIX:?Set CONDA_PREFIX by activating your conda env first.}"
|
|
|
|
export CMAKE_PREFIX_PATH="${CONDA_PREFIX}:${CMAKE_PREFIX_PATH:-}"
|
|
|
|
cd "${PROJ_ROOT}/mycpp"
|
|
rm -rf build
|
|
mkdir -p build
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH}" \
|
|
-DPython3_ROOT_DIR="${CONDA_PREFIX}" \
|
|
-DPYBIND11_PYTHON_EXECUTABLE="${CONDA_PREFIX}/bin/python"
|
|
cmake --build . -j"$(nproc)"
|
|
|
|
cd "${PROJ_ROOT}"
|