Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flir baseline implementation #4617

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Flir baseline implementation #4617

wants to merge 1 commit into from

Conversation

ccll1122
Copy link

@ccll1122 ccll1122 commented Dec 3, 2024

Baseline: Add FLIR federated learning implementation

Issue

Description

I am contributing a new baseline implementation of FLIR CVPR-2022] Federated Class-Incremental Learning to the Flower framework. This baseline implements federated learning experiments from our paper (paper citation).

@jafermarq
Copy link
Contributor

Hi @ccll1122 and @Luosmallrui, thanks for creating the PR to include FLIR in the Flower Baselines collection!! Before FLIR can be added, you'll need to adjust how the code is organized. Please follow the instructions on how to add a new baseline. In short, these are the steps:

  1. From a new python environment: pip install -U flwr
  2. Create the baseline structure using flwr new:
    • Clone the flower repo
    • Cd to directory where all baselines are
    • Create a baselines skeleton project: flwr new flir (then follow the prompt)
  3. The final step above would have created the flir directory and some basic code inside, please adjust it with your own code but without making structural changes (i.e. the pyproject.toml needs to be there, but you can edit, you need to complete the indicated areas in the generated README.md, your baseline should be run with flwr run).

You can use as reference for how to structure the code some of the examples in flower, for example https://github.com/adap/flower/tree/main/examples/advanced-pytorch.

Please let me know if you need some help!

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

Successfully merging this pull request may close these issues.

3 participants