CYWS-3D depends on a precise set of library versions — particularly PyTorch, PyTorch3D, and mmcv-full — that must be installed in the correct order. The instructions below use conda for environment isolation and have been tested on a Linux system with a CUDA 11.3-capable GPU. Follow each step in sequence; skipping or reordering steps is the most common cause of installation failures.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ragavsachdeva/CYWS-3D/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- CUDA 11.3 — a driver and toolkit version compatible with
cudatoolkit=11.3.1must be present on the host. - Python 3.9 — managed automatically by conda in the steps below.
- conda — Miniconda or Anaconda. The installation commands use
condadirectly; ensure it is on yourPATH. - Git — required to clone the repository along with its submodule.
Installation steps
Clone the repository (with submodules)
CYWS-3D includes SuperGluePretrainedNetwork as a Git submodule for feature matching. The
--recursive flag is required — omitting it will clone an empty submodule directory and cause import errors at runtime.Create and activate the conda environment
Create a dedicated Python 3.9 environment to isolate CYWS-3D’s dependencies from other projects.
Install PyTorch, torchvision, and CUDA toolkit
Install the pinned versions of PyTorch and torchvision together with the matching CUDA toolkit. Installing these through conda ensures that the compiled CUDA extensions in later steps link against the correct libraries.
Install fvcore and iopath (PyTorch3D prerequisites)
PyTorch3D requires
fvcore and iopath from their respective conda channels.Install PyTorch3D
Install the pinned PyTorch3D release. The
--freeze-installed flag prevents conda from downgrading any packages that were installed in the previous steps.Install mmcv-full
mmcv-full must be installed from the OpenMMLab wheel index corresponding to CUDA 11.3 and PyTorch 1.10. Installing from PyPI directly will pull a CPU-only or mismatched build.Download the pre-trained checkpoint
The pre-trained model weights are distributed as a gzip-compressed checkpoint file. Download and decompress it into the repository root:cyws-3d.ckpt in the current directory. Pass this path to --load_weights_from when running inference.
Download the datasets (optional)
Two annotated 3D change-detection datasets are provided for evaluation. Both are optional and only needed if you intend to reproduce the paper’s benchmark results. KC-3D — a dataset of indoor scenes with annotated changes:The demo images shipped in
demo_data/ are included in the repository and do not require any separate download. You can run inference immediately after obtaining the checkpoint.