Skip to content

Add Multitask Learning and Self Supervised Learning - #62

Open
aymuos15 wants to merge 4 commits into
mainfrom
soumya/lightly
Open

Add Multitask Learning and Self Supervised Learning#62
aymuos15 wants to merge 4 commits into
mainfrom
soumya/lightly

Conversation

@aymuos15

Copy link
Copy Markdown
Collaborator

No description provided.

…d precommits

- Add self-supervised learning (SSL) support using Lightly library
- Add fallback to task-specific weights when SSL weights unavailable
- Prevent YOLO weights from downloading to repository root
- Add pre-commit configuration and linting setup
- Add initial tests for SSL task heads
- Update documentation and benchmarks
…dataset tracking

Remove the deprecated standard federated training section from the Quick Start guide, replacing it with the new two-phase SSL workflow (pretraining + fine-tuning). Also remove dataset directory ignore rules to enable version control of datasets.
@aymuos15

Copy link
Copy Markdown
Collaborator Author

#54

I think this shold be closed with this too.

@Yang-Li86
Yang-Li86 requested a review from Copilot February 26, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces multitask learning capabilities and self-supervised learning (SSL) pretraining to UltraFlwr, transforming it from a federated object detection framework into a comprehensive federated multi-task learning platform.

Changes:

  • Added integrated federated self-supervised learning (SSL) using the Lightly library for label-free pretraining
  • Restructured codebase with modern tooling (uv, ruff, pyright) and pre-commit hooks
  • Removed old training/testing scripts and configuration files in favor of a new architecture

Reviewed changes

Copilot reviewed 131 out of 1006 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Updated documentation to introduce SSL workflow, multitask learning features, and new usage patterns
.pre-commit-config.yaml Added pre-commit configuration for code quality enforcement
datasets/baseline/test/labels/*.txt Removed old test label files
datasets/baseline/partitions/client_/labels/.txt Removed old partition label files and added new formatted labels
datasets/baseline/README.*.txt Removed dataset documentation files
FedYOLO/yolo_configs/yolo11n_anki.yaml Removed old YOLO configuration file
FedYOLO/train/*.py Removed legacy training scripts (server, client, strategies, utils)
FedYOLO/test/*.py Removed legacy testing scripts
FedYOLO/data_partitioner/fed_split.py Removed old data partitioning script
FedYOLO/config.py Removed centralized configuration file
Dockerfile Removed Docker configuration
benchmarks/endoscapes.md Removed trailing whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants