How dlcv-fall-2024/dlcv-fall-2024-final-2-darkmagic works
Key Components to Include in the System Design:
Training Pipeline
• Input Layer
• Configuration Management (configs/*.yaml)
• Dataset Management (datasets/data_cfgs)
• Concept Images (datasets/data_cfgs/Data/concept_image/*)
• Core Training Components
• EDLoRA Model (src/mixofshow/models/edlora.py)
• Custom Pipelines (src/mixofshow/pipelines/*)
• Training Controller (src/train.py)
Fusion System
• Gradient Fusion Pipeline
• Orthogonal Fusion Pipeline
• Configuration Management for Fusion
Inference System
• Control-Based Generation
• Mask Generation Module
• GroundingDINO Integration
• SAM (Segment Anything Model) Integration
• Non-Control Generation
• Regional Control Generation
Use a top-level division with three main sections
• Training | Fusion | Inference |
Hierarchical Structure
• Training Pipeline
• Config Management
• Dataset Pipeline
• Model Training
• EDLoRA
• Pipeline Components
• Training Controller
• Fusion System
• Gradient Fusion
• Orthogonal Fusion
• Inference System
• Direct Generation
• Controlled Generation
• Mask Generation
• GroundingDINO
• SAM Integration
Technical Details
• Model checkpoint paths
• Configuration file relationships
• Data flow between components
The configuration management system
Keep the abstraction level focused on the architectural components while maintaining enough detail to understand the system's workflow and interactions. This will help other engineers understand both the high-level architecture and the specific implementation details of the system.