技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
transfer-learning-library【数据与研究】Use Transfer Learning Library (TLLib) for PyTorch transfer learning, domain adaptation, domain generalization, task adaptation, self-training, model selection, and vision data/model workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task names Transfer Learning Library, TLLib, tllib, or asks for PyTorch transfer-learning workflows such as domain adaptation, domain generalization, task adaptation/fine-tuning, self-training, model ranking, or TLLib vision datasets/models.
Confirm the package imports before following any workflow:
python - <<'PY'
import tllib, torch, torchvision, numpy
print('tllib', tllib.__version__)
print('torch', torch.__version__)
print('torchvision', torchvision.__version__)
print('numpy', numpy.__version__)
PY
For TLLib 0.4, prefer an older compatible stack when model factories or losses fail under modern dependencies: Python 3.8, PyTorch/TorchVision from the 1.8/0.9 era, and numpy<1.24 are known-good inspection choices.
Run the bundled root smoke check when diagnosing install/import problems:
python scripts/check_tllib_install.py
Read references/repo-provenance.md before deciding whether this skill is current for a checkout. Read references/troubleshooting.md for install/import, dependency, dataset, and backend failures.
| User task | Read |
|---|---|
| Unsupervised/partial/open-set/domain-adversarial adaptation; DANN, CDAN, DAN, JAN, MDD, MCD, MCC, AFN, BSP, RegDA, D-adapt, WILDS adaptation | sub-skills/domain-adaptation/SKILL.md |
Dataset roots, ImageList text files, domain names, transforms, vision model factories, re-id/keypoint/segmentation utilities, metrics/loggers | sub-skills/vision-data-models/SKILL.md |
| Domain generalization or fine-tuning/task adaptation; MixStyle, IBN, StochNorm, GroupDRO, IRM/VREx/MLDG, L2-SP, DELTA, BSS, Co-Tuning, LwF, Bi-Tuning | sub-skills/task-generalization/SKILL.md |
| Semi-supervised learning or self-training; pseudo-labeling, Pi Model, Mean Teacher, UDA, FixMatch/FlexMatch, MCC, Self-Tuning, DST, Noisy Student | sub-skills/self-training/SKILL.md |
| Rank or choose pretrained models by transferability metrics; H-score, regularized H-score, LEEP, NCE, LogME, TransRate | sub-skills/model-selection/SKILL.md |
| CycleGAN/FDA/CyCADA/SPGAN image or domain translation components | sub-skills/translation/SKILL.md |
Use references/capability-map.md when the user names an algorithm and you need to find its TLLib module, owning sub-skill, optional dependencies, or validation route.
tllib package and distilled workflow patterns. It does not require the original repository checkout at runtime.timm, or higher. Install only the optional stack that the user explicitly needs.vision-data-models scripts.scripts/check_tllib_install.py verifies imports, version compatibility, representative public APIs, and optional backend visibility without downloading data.references/troubleshooting.md covers cross-cutting failures before routing to workflow-specific troubleshooting.references/repo-routing-metadata.json contains structured metadata for managed repo-skill routing.