协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
evaluation-maintenance【开发与工程】Use LightlySSL evaluation utilities and choose safe repository maintenance checks for tests, docs, notebooks, and CI variants.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks how to evaluate LightlySSL representations, wire benchmarking callbacks/classifiers, or maintain the LightlySSL repository with scoped tests, static checks, docs builds, generated notebooks, and dependency-variant awareness.
For a fresh public package environment, start with pip install lightly. Add lightly[timm] only for TIMM / MAE / ViT-style optional modules, and lightly[video] only for video/PyAV data workflows. Repository-development checks need the project's development dependencies; use the maintenance reference before selecting broad commands.
BenchmarkModule, and MetricCallback.make format, make format-check, make lint, make type-check, make static-checks, make test-fast, make test, make test-distributed, and make all-checks.--runslow, USE_PYTEST_POOL=1, and python -m pytest are required.examples/ changes, docs build checks after docs/source changes, CI dependency variants, and contributor/PR constraints.training-workflows.lightly-ssl-train, lightly-embed, lightly-magic, lightly-crop, input data layout, and embedding CSV operations: use cli-data-embedding.ssl-building-blocks.python scripts/check_repo_dev_commands.py --helppython scripts/check_repo_dev_commands.py lightly/utils/benchmarking/knn.py tests/utils/benchmarking/test_knn.pymake all-checks only when the user needs pre-PR confidence or the change crosses many surfaces.knn_predict for tensor-level KNN, KNNClassifier for Lightning validation over train/validation dataloaders, LinearClassifier to freeze a backbone, FinetuneClassifier to update backbone plus head, and OnlineLinearClassifier inside a parent LightningModule.MetricCallback to a Lightning Trainer when the task needs per-epoch scalar logs collected from trainer.callback_metrics.make generate-example-notebooks and include the tracked notebook diff in the change.USE_PYTEST_POOL=1 python -m pytest tests --runslow -m DDP.