mirror of
https://github.com/pandey-ps/space.git
synced 2026-10-06 12:42:43 +05:30
No description
| assets | ||
| src | ||
| .gitignore | ||
| pyproject.toml | ||
| readme.md | ||
| uv.lock | ||
visual embeddings of multiples images in a scatter plot. uses facebookresearch/dinov2 for embeddings.
the input images are passed through the vision transformer to get semantic feature vectors(and are cached).
the embeddings are projected down to 2d coordinates using umap/tsne/pca. (choice can be done at the webapp as per number of images).
on the very first run, model weights are downloaded and dumped to cache. (current base model is ~4.5gbs, you can change it as per the comments on embed.py)
visualization of embeddings:
usage
git clone https://github.com/pandey-ps/space.git
cd space
uv run python src/app.py
