Docs: add an AlbumentationsX tutorial for custom DINO views - #2048
Draft
ternaus wants to merge 1 commit into
Draft
Docs: add an AlbumentationsX tutorial for custom DINO views#2048ternaus wants to merge 1 commit into
ternaus wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Document role-specific global and local view policies with the current MultiViewTransform contract. Show independent repeated local sampling and policy serialization.
ternaus
force-pushed
the
codex/docs-ax-dino-multiview
branch
from
August 29, 2026 11:47
4d2a41e to
a5ad712
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2047
Description
Adds a standalone Sphinx Gallery tutorial for customizing DINO view policies with AlbumentationsX while retaining Lightly's current
MultiViewTransform, dataset, model, and training contracts.The tutorial:
ratio, cropscale, and the photometric composition without copyingDINOTransform;A.ToTensorV2();A.to_dict().This is documentation-only. AlbumentationsX remains an optional dependency and is not added to Lightly's package metadata.
Tests
Validation performed:
albumentationsx==2.4.3;3 x 224 x 224global tensors and six3 x 96 x 96local tensors;pytest -q tests/transforms/test_multi_view_transform.py tests/transforms/test_dino_transform.py(3 passed);make format-check;make html-noplot; andThe repository-wide pre-commit run reaches an existing codespell failure in unchanged
lightly/loss/frossl_loss.py:90(fro). All hooks pass on the files in this PR.Documentation
.rstfiles).The generated tutorial page and all eight pages of its PDF preview were inspected for clipping, overlap, and broken layout.
Implications / comments / further issues