Skip to content

Prototype: Object Embeddings v0#1431

Draft
JonasWurst wants to merge 6 commits into
mainfrom
jonas-lig-9524-object-embeddings-prototype-embedding-computation
Draft

Prototype: Object Embeddings v0#1431
JonasWurst wants to merge 6 commits into
mainfrom
jonas-lig-9524-object-embeddings-prototype-embedding-computation

Conversation

@JonasWurst

Copy link
Copy Markdown
Contributor

What has changed and why?

In this prototype, the embeddings for objects are extracted on indexing time. for each annotation, the bbox is used to crop the input image. That crop is passed though the normal image embedding model. The resulting object Embeddings are stored in the embedding table.

The frontend changes have been made in an earlier prototpye.

How has it been tested?

Locally run with example_coco.py
and exmaple_evaluation.py

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 04068988-05c3-48bf-979b-f633f3bc07f1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jonas-lig-9524-object-embeddings-prototype-embedding-computation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@@ -1,21 +1,42 @@
import { readAnnotationsWithPayloadInfiniteOptions } from '$lib/api/lightly_studio_local/@tanstack/svelte-query.gen';
import { client as apiClient } from '$lib/api/lightly_studio_local/client.gen';

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are only required to make the lasso select scale well to large amount of selected points.



class AnnotationPayloadQueryBody(BaseModel):
"""Request body for reading annotations with payload without URL-sized filters."""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are only required to make the lasso select scale well to large amount of selected points.

@JonasWurst

Copy link
Copy Markdown
Contributor Author

/review

@JonasWurst JonasWurst changed the base branch from malte-lig-9521-object-embeddings-prototype-embedding-plot-and-text-search to main June 18, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants