Generalizable Perception Stack for 3D, 4D, spatial AI and scene understanding
Maintained. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install uniceptionUniCeption
UniCeption houses modular building blocks for developing and training generalizable perception models for all things related to 3D, 4D, spatial AI and scene understanding. It is designed to be flexible and extensible, allowing researchers to easily experiment with different architectures and configurations.
Please refer to the Developer Guidelines for contributing to the project.
Installation
Install from PyPI
The easiest way to install UniCeption is from PyPI:
# Install with base dependencies
pip install uniception
# Optional: Install with XFormers support
pip install "uniception[xformers]"
# Optional: Install with development tools
pip install "uniception[dev]"
# Optional: Install all optional dependencies
pip install "uniception[all]"
Install from Source
Clone the repository to your local machine by running the following command:
git clone git@github.com:castacks/UniCeption.git
cd UniCeption
Standard Installation
Install the uniception package in development mode by running the following commands:
# Please use Conda or Python Virtual Environment based on your preference
# For Conda Environment
conda create --name uniception python=3.12
conda activate uniception
# For Python Virtual Environment
virtualenv uniception
source uniception/bin/activate
# Install UniCeption with base dependencies (includes PyTorch)
pip install -e .
# Optional: Install with XFormers support
pip install -e ".[xformers]"
# Optional: Install with development tools
pip install -e ".[dev]"
# Optional: Install all optional dependencies
pip install -e ".[all]"
# Setup pre-commit hooks for development
pre-commit install
Optional: CroCo RoPE Extension Installation
To use CroCo models with the custom RoPE kernel:
# Recommended: Use the console script
uniception-install-croco
# Alternative: Set environment variable during installation
INSTALL_CROCO_ROPE=true pip install -e .
# Manual compilation (if needed)
cd uniception/models/libs/croco/curope
python setup.py build_ext --inplace
cd ../../../../../
Installation Validation and Dependency Checking
After installation, use these console scripts to validate your setup:
# Validate installation and check dependencies
uniception-validate
# Check which optional dependencies are available
uniception-check-deps