Skip to content

Repurposing a blog post I did to expose an app that does few shot learning on DINOv2 embeddings.

License

Notifications You must be signed in to change notification settings

Striveworks/dinov2-few-shot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photography-analysis

Some utilities for me to analyze photography. Example tasks include generating representative samples, filtering, and summary generation.

Installation Instructions

This project uses Poetry for Python dependency management. Get the latest version of poetry. You can install it with pip inside a virtual environment like:

pip install poetry

Once you have poetry, run:

poetry install

from the root level of the project.

Project Structure

Python Libraries

Reusable bits of Python code can be found in src/py/libs. Subdirectories are manually added to the pyproject.toml to form new packages.

Python Applications

Things like FastAPI servers, dashboards, and other applications written in Python can be found in src/py/apps. Subdirectories are manually added to the pyproject.toml to form new packages.

Notebooks

To run the notebooks in ./notebooks/ after following the installation instructions, remember to install your kernel:

python -m ipykernel install --name your-env-name --user

Photo Sampler Server

See src/py/apps/photo_sampler for README.md instructions on how to use the similarity search server.

About

Repurposing a blog post I did to expose an app that does few shot learning on DINOv2 embeddings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.9%
  • Python 1.1%