{"id":27959170,"url":"https://github.com/kitsuyaazuma/dsflplus","last_synced_at":"2026-02-02T00:03:30.199Z","repository":{"id":217785349,"uuid":"742274797","full_name":"kitsuyaazuma/DSFLplus","owner":"kitsuyaazuma","description":"The implementation of DS-FL+ (Energy-based Knowledge Distillation for Communication-Efficient Federated Learning, IEICE 2024 student poster session).","archived":false,"fork":false,"pushed_at":"2024-12-14T01:32:04.000Z","size":5685,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-20T06:44:32.210Z","etag":null,"topics":["federated-learning","fedlab","knowledge-distillation","ood-detection","pytorch"],"latest_commit_sha":null,"homepage":"https://kitsuyaazuma.github.io/DSFLplus/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitsuyaazuma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-12T05:42:19.000Z","updated_at":"2025-04-16T06:05:05.000Z","dependencies_parsed_at":"2024-03-10T02:44:45.549Z","dependency_job_id":"afe58333-54cd-466f-adeb-25040ebcdb9b","html_url":"https://github.com/kitsuyaazuma/DSFLplus","commit_stats":null,"previous_names":["kitsuya0828/dsflplus","kitsuyaazuma/dsflplus"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kitsuyaazuma/DSFLplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsuyaazuma%2FDSFLplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsuyaazuma%2FDSFLplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsuyaazuma%2FDSFLplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsuyaazuma%2FDSFLplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitsuyaazuma","download_url":"https://codeload.github.com/kitsuyaazuma/DSFLplus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsuyaazuma%2FDSFLplus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28996568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["federated-learning","fedlab","knowledge-distillation","ood-detection","pytorch"],"created_at":"2025-05-07T18:29:02.365Z","updated_at":"2026-02-02T00:03:30.182Z","avatar_url":"https://github.com/kitsuyaazuma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n\n# DS-FL+\n\n\u003e [!NOTE]\n\u003e The implementation of **DS-FL+** (Energy-based Knowledge Distillation for Communication-Efficient Federated Learning, IEICE 2024 student poster session) is available [here](https://github.com/Kitsuya0828/DSFLplus/tree/v1.0.0).\n\nThis is the implementation of **DS-FL+** (Energy-based Thresholding and Knowledge Distillation for Communication-Efficient Federated Learning on Non-IID Data).\n\n## Requirements\n* Python version: `3.10.13`\n* CUDA version: `11.6`\n\n## Setup\n\n```bash\ngit clone https://github.com/Kitsuya0828/DSFLplus.git\ncd DSFLplus\n\nconda env create -f env.yaml\nconda activate dsflplus\n\n# or\n\n# https://pytorch.org/get-started/previous-versions/\nconda create -n dsflplus python=3.10.13\nconda activate dsflplus\npip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116\npip install black fedlab gdown isort matplotlib mypy pandas plotly tensorboard\n```\n\n## Run\n\n```bash\ncd src\n\npython main.py --help\n\n# or\n\npython main.py \\\n--algorithm=dsflplus \\\n--task=cifar10 \\\n--partition=shards \\\n--num_shards_per_client=2 \\\n--seed=42 \\\n--public_private_split=even_class \\\n--private_size=40000 \\\n--public_size=10000 \\\n--public_size_per_round=1000 \\\n--sample_ratio=1.0 \\\n--com_round=1000 \\\n--temperature=0.1 \\\n--total_clients=100 \\\n--batch_size=100 \\\n--epochs=5 \\\n--lr=0.1 \\\n--kd_epochs=5 \\\n--kd_batch_size=100 \\\n--kd_lr=0.1 \\\n--ood_detection_score=energy \\\n--ood_detection_threshold_delta=0.0025 \\\n--test_batch_size=500 \\\n--comment=shards_energy_delta00025\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsuyaazuma%2Fdsflplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitsuyaazuma%2Fdsflplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsuyaazuma%2Fdsflplus/lists"}