Distinguish behavioral clusters Toolbox
Project description
CASTLE
CASTLE integrates the strengths of visual foundation models trained on large datasets possess open-world visual concepts, including Segment Anything (SA), DeAOT, and DINOv2, for one-shot image segmentation and unsupervised visual feature extraction. Furthermore, CASTLE employs unsupervised multi-stage and/or multi-layer UMAP clustering algorithms to distinguish behavioral clusters with unique temporal variability.
Install
Step 1 install CASTLE core function
pip install castle-ai
Step 2 (Speed Up) (not necessery)
for cuda12 user
pip install -U xformers --index-url https://download.pytorch.org/whl/cu121
pip install -U cudf-cu12 cuml-cu12 --extra-index-url=https://pypi.nvidia.com
for cuda11 user
pip install -U xformers --index-url https://download.pytorch.org/whl/cu118
pip install -U cudf-cu11 cuml-cu11 --extra-index-url=https://pypi.nvidia.com
Step 3 Download Web UI
git clone https://github.com/CASTLE-ai/castle-ai.git
Step 4 Download pretrain model
for Linux user
cd castle-ai/
bash download_ckpt.sh
for Windowns user
cd castle-ai/
mkdir ckpt
then using Web download model and put they into ckpt folder.
Run
python app.py
Reference
We would like to express our gratitude for the assistance received from the following projects during the development of this project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file castle_ai-0.0.9.tar.gz
.
File metadata
- Download URL: castle_ai-0.0.9.tar.gz
- Upload date:
- Size: 123.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb56fedad5e4ce1515e377d2110217923976e433d4de8f1d00a4ff5cf049cc6 |
|
MD5 | 6c56b72e4ea558f3c552ed3af0e005e2 |
|
BLAKE2b-256 | b05959329ddc060800dafd416a8772373a24079877e67210b581bc57691dd38f |
File details
Details for the file castle_ai-0.0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: castle_ai-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 161.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a685b2649d1bdf419fcfcee0fba6fac1103e420239e0e982d9d03c69a63290e |
|
MD5 | d843d780170b779baac1dcdc0902ed17 |
|
BLAKE2b-256 | d335fb2bf8c93ab9a2714d7c31a96667d47c8d2bc27896690ce98301f594db40 |