docs: show model counts per task in the model zoo - #289
Open
afrendeiro wants to merge 3 commits into
Open
afrendeiro wants to merge 3 commits into
afrendeiro wants to merge 3 commits into
Conversation
This branch has not been deployed
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.
The Model Zoo page now shows, directly under each model-type heading, how many models that section lists. The counts are computed at docs build time from the installed
lazyslide_modelsregistry, so they can never drift from the rendered lists.docs/source/conf.py:template_model_api()emits a bold count line (**31 models**, pluralized) below each heading; theBase model classsection is excluded since it lists abstract base classes, not models.uv.lock: bumpslazyslide-modelsfrom0127bebto365c7ba. The docs build resolves models from the lockfile, and the previous pin predated several models (ClassPose, Prism2, mSTAR, WaiV, RudolfV-2, STPath, GigaPath-Flash), which made the generated model lists silently stale. Split into a separate commit for reviewability.Verified locally:
uv run task doc-buildsucceeds and the generatedmodels.rstshows 31 vision, 12 multimodal, 11 segmentation, 7 tile prediction, 2 feature prediction, 8 slide encoder, 9 CV features, 3 style transfer, 1 image generation.