{"id":18401685,"url":"https://github.com/borealisai/adaflood","last_synced_at":"2026-06-29T19:31:31.107Z","repository":{"id":254221850,"uuid":"841697978","full_name":"BorealisAI/adaflood","owner":"BorealisAI","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-21T21:33:06.000Z","size":3829,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T18:19:20.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorealisAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2024-08-12T22:30:27.000Z","updated_at":"2024-10-12T14:25:52.000Z","dependencies_parsed_at":"2024-08-22T05:52:12.604Z","dependency_job_id":null,"html_url":"https://github.com/BorealisAI/adaflood","commit_stats":null,"previous_names":["borealisai/adaflood"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BorealisAI/adaflood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fadaflood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fadaflood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fadaflood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fadaflood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorealisAI","download_url":"https://codeload.github.com/BorealisAI/adaflood/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fadaflood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34941025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T02:39:38.548Z","updated_at":"2026-06-29T19:31:31.076Z","avatar_url":"https://github.com/BorealisAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adaflood\n[[Paper](https://openreview.net/pdf?id=2s5YU6CSEz)][[OpenReview](https://openreview.net/forum?id=2s5YU6CSEz)]\n\n## Setup\nSetup the pipeline by installing dependencies using the following command.\npretrained models and utils.\n```bash\npip install -r requirements.txt\n```\n\n## Train\nA model can be trained (with hyper-parameter search) using the following command.\n```bash\nbash scripts/run_sweep.sh -d $DATASET -m $MODEL -r $CRITERION\n```\n`$DATASET` can be chosen from `{uber_drop, cifar100}`, `$MODEL` can be chosen from `{intensity_free,thp_mix,resnet18,}`.\nAlso, `$CRITERION` can be chosen from `{cls,flood,iflood,aux,adaflood}` for classification and `{tpp,flood,iflood,aux,adaflood}` for TPP tasks.\nOther configurations can be also easily modified using hydra syntax. Please refer to `scripts/run_sweep.sh` and [hydra](https://hydra.cc/docs/intro/) for further details.\n\n\n## Citation\nIf you use this code or model for your research, please cite:\n\n    @article{bae2024adaflood,\n      title={AdaFlood: Adaptive Flood Regularization},\n      author={Bae, Wonho and Ren, Yi and Ahmed, Mohamad Osama and Tung, Frederick and Sutherland, Danica J and Oliveira, Gabriel L},\n      journal={Transactions on Machine Learning Research (TMLR)},\n      year={2024}\n    }\n\n\n## Acknowledgment\nThe pipeline is built on [PyTorch-Lightning Hydra Template](https://github.com/ashleve/lightning-hydra-template).\nIntensity free is based on [the original implementation](https://github.com/shchur/ifl-tpp) and THP+ is based on (Meta TPP](https://github.com/BorealisAI/meta-tpp).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fadaflood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborealisai%2Fadaflood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fadaflood/lists"}