docs(lora): add YOLO-Master domain adaptation configs#67
Closed
xie-guangzhen wants to merge 1 commit into
Closed
Conversation
Author
|
Superseded by #70 after the valid RhinoBird claim window opened on July 1. |
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.
Description | 描述
Adds YOLO-Master-EsMoE-N LoRA adaptation examples for two visually different vertical scenarios requested in #50:
The PR includes scenario-specific LoRA configs, a reproducible rank sweep launcher, and README guidance for rank selection, target module policy, MoE routing handling, and common pitfalls.
Related Issue | 关联 Issue
Fixes #50
Change Type | 修改类型
Files Added | 新增文件
examples/lora_examples/yolo_master_visdrone_lora.yamlexamples/lora_examples/yolo_master_brain_tumor_lora.yamlexamples/lora_examples/domain_lora_rank_sweep.pyImplementation Details | 实现说明
VisDrone
VisDrone.yamlultralytics/cfg/models/master/v0_5/det/yolo-master-n.yamlr=16,alpha=32lora_include_moe=Trueandlora_include_attention=Trueimgsz=960,multi_scale=True, andmax_det=500for dense small-object aerial scenesbrain-tumor
brain-tumor.yamlultralytics/cfg/models/master/v0_5/det/yolo-master-n.yamlr=8,alpha=16lora_include_moe=True, keepslora_include_attention=FalseMoE routing policy
Both configs intentionally do not explicitly target
routingmodules. The router controls top-k expert assignment and can overfit or collapse under short few-shot schedules. The configs adapt Conv/Linear feature transforms and MoE expert/projection paths while keeping routing decisions stable.Rank Sweep | Rank 对比
Added
domain_lora_rank_sweep.pyto run the requiredr=4,8,16comparisons:The script launches one
yolo traincommand per rank and writes a CSV summary including:The README includes the comparison table template and scenario recommendations.
Self-test Checklist | 自测清单
r=4,8,16r=4,8,16Commands run locally: