{"id":37132425,"url":"https://github.com/git-disl/gring-app-disease_classification","last_synced_at":"2026-01-14T15:27:10.157Z","repository":{"id":62865881,"uuid":"489689831","full_name":"git-disl/GRING-App-Disease_Classification","owner":"git-disl","description":"G-RING application : Implementation of disease classification federated learning task on G-RING","archived":false,"fork":false,"pushed_at":"2022-11-25T04:24:07.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-22T03:09:28.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/git-disl.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}},"created_at":"2022-05-07T14:04:19.000Z","updated_at":"2022-06-28T18:22:11.000Z","dependencies_parsed_at":"2023-01-22T17:45:42.678Z","dependency_job_id":null,"html_url":"https://github.com/git-disl/GRING-App-Disease_Classification","commit_stats":null,"previous_names":["git-disl/g-ring-disease_classification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/git-disl/GRING-App-Disease_Classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-disl%2FGRING-App-Disease_Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-disl%2FGRING-App-Disease_Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-disl%2FGRING-App-Disease_Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-disl%2FGRING-App-Disease_Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-disl","download_url":"https://codeload.github.com/git-disl/GRING-App-Disease_Classification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-disl%2FGRING-App-Disease_Classification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-14T15:27:09.558Z","updated_at":"2026-01-14T15:27:10.152Z","avatar_url":"https://github.com/git-disl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis repository contains implementation of G-RING Application: Federated Learning on G-RING for Disease Classification with MedMNIST.\n\n# Installation\n\n1. Install Go\nThis repository is valided with, but not limited to, go1.16\n```bash\nwget https://golang.org/dl/go1.16.linux-amd64.tar.gz\nsudo tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz\n```\n\n\n# Running application\n\n## Run bootstrap node\n\n```bash\ngo run bootstrap.go 100.10.10.1 9999\n```\n\n## Run Publisher node\n\npublisher.sh takes three commandline arguments: publisher IP, port and bootstrap address\n```bash\npython3 publisher.sh 100.10.10.2 8000 100.10.10.1:9999\n```\n## Run Peer nodes\n\npeer.sh takes three commandline arguments: publisher IP, port and bootstrap address\n```bash\npython3 peer.sh 100.10.10.3 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.4 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.5 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.6 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.7 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.8 8000 100.10.10.1:9999\npython3 peer.sh 100.10.10.9 8000 100.10.10.1:9999\n```\n\n## Run commands on Publisher node\n\nPublisher creates a project for FL task\n```bash\n/newpjt\n```\n\nPublisher sends AD messages to recruit members\n```bash\n/sendAD\n```\n\nAfter subscribers are joined(as many as you want),\nPublisher forms a group on application overlay\n```bash\n/group\n```\n\nStart FL training rounds\n```bash\n/starttrain\n```\n\n\n# Commandline commands\n\n## Common\n```bash\n/peers_bc : print all peers in the backbone routing table\n/peers_gr : print all peers in the application routing table\n/discover : discover peers on backbone overlay\n```\n## Publisher\n```bash\n/newpjt : create a new project\n/pjtstate : show project status : PUBLISHED, ACTIVE, COMMITED.\n/subs : print the number of subscribers(i.e. project members) of the project\n/sendAD : broadcast advertisement messages to backbone overlay to recruit project members\n/group : form a group on appliction overlay for the project\n```\n\n## Peers\n```bash\nall common commands\n```\n\n# Setting parameters\n\n## On Python-Go plug-in (peer.go)\nThis plug-in file is provided by G-RING to support seamless data transfer and control between Python(e.g. ML application) and Go(e.g., underlying network).\n\n\"group size\" is to decide the degree of the tree on application overlay\n```bash\n// group\\_size-1 = degree of tree = # of children\n// in this toy example, we create a binary tree on application overlay\ngroup\\_size=3\n```\n\n## On Python Application (publisher.py peer.py)\npublisher.py and peer.py are application codes for FL project implemented on G-RING\n\n```bash\n// total number of FL training rounds\nNUM_GLOBAL_ROUNDS = 3\n\n# number of local training at each peer node\nNUM_LOCAL_EPOCHS = 1 \n```\n\n```bash\n//training variables\nlr = 0.001\n```\n\n# Supported Platforms\n\nTested environment:\n\nOS : Ubuntu 18.04\nHardware : Ethernet\n\n# Dataset requirement\nThis FL application on G-RING will download MedMNIST dataset.\nNo manual dataset download is required.\n\nWe use PathMNIST dataset. For more details about dataset, please refer to original source.\nhttps://medmnist.com\n\n# Status\nThe code is provided as is, without warranty or support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-disl%2Fgring-app-disease_classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-disl%2Fgring-app-disease_classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-disl%2Fgring-app-disease_classification/lists"}