{"id":19135443,"url":"https://github.com/petarv-/dgi","last_synced_at":"2025-04-04T18:07:43.822Z","repository":{"id":40461688,"uuid":"162727376","full_name":"PetarV-/DGI","owner":"PetarV-","description":"Deep Graph Infomax (https://arxiv.org/abs/1809.10341)","archived":false,"fork":false,"pushed_at":"2022-11-01T16:50:49.000Z","size":139,"stargazers_count":637,"open_issues_count":11,"forks_count":136,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-28T17:08:35.788Z","etag":null,"topics":["deep-graph-infomax","graph-convolutional-networks","neural-networks","python","pytorch","unsupervised-learning","unsupervised-node-embedding"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PetarV-.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-21T15:06:57.000Z","updated_at":"2025-03-25T05:35:44.000Z","dependencies_parsed_at":"2022-07-09T04:46:01.008Z","dependency_job_id":null,"html_url":"https://github.com/PetarV-/DGI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetarV-%2FDGI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetarV-%2FDGI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetarV-%2FDGI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetarV-%2FDGI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PetarV-","download_url":"https://codeload.github.com/PetarV-/DGI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["deep-graph-infomax","graph-convolutional-networks","neural-networks","python","pytorch","unsupervised-learning","unsupervised-node-embedding"],"created_at":"2024-11-09T06:30:17.587Z","updated_at":"2025-04-04T18:07:43.795Z","avatar_url":"https://github.com/PetarV-.png","language":"Python","readme":"# DGI\nDeep Graph Infomax (Veličković *et al.*, ICLR 2019): [https://arxiv.org/abs/1809.10341](https://arxiv.org/abs/1809.10341)\n\n![](https://camo.githubusercontent.com/f62a0b987d8a1a140a9f3ba14baf4caa45dfbcad/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f757a783779677761637a76747031302f646565705f67726170685f696e666f6d61782e706e673f7261773d31)\n\n## Overview\nHere we provide an implementation of Deep Graph Infomax (DGI) in PyTorch, along with a minimal execution example (on the Cora dataset). The repository is organised as follows:\n- `data/` contains the necessary dataset files for Cora;\n- `models/` contains the implementation of the DGI pipeline (`dgi.py`) and our logistic regressor (`logreg.py`);\n- `layers/` contains the implementation of a GCN layer (`gcn.py`), the averaging readout (`readout.py`), and the bilinear discriminator (`discriminator.py`);\n- `utils/` contains the necessary processing subroutines (`process.py`).\n\nFinally, `execute.py` puts all of the above together and may be used to execute a full training run on Cora.\n\n## Reference\nIf you make advantage of DGI in your research, please cite the following in your manuscript:\n\n```\n@inproceedings{\nvelickovic2018deep,\ntitle=\"{Deep Graph Infomax}\",\nauthor={Petar Veli{\\v{c}}kovi{\\'{c}} and William Fedus and William L. Hamilton and Pietro Li{\\`{o}} and Yoshua Bengio and R Devon Hjelm},\nbooktitle={International Conference on Learning Representations},\nyear={2019},\nurl={https://openreview.net/forum?id=rklz9iAcKQ},\n}\n```\n\n## License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetarv-%2Fdgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetarv-%2Fdgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetarv-%2Fdgi/lists"}