{"id":23841884,"url":"https://github.com/johnpertoft/relation-networks","last_synced_at":"2026-05-17T09:32:34.291Z","repository":{"id":85388318,"uuid":"143167778","full_name":"johnPertoft/relation-networks","owner":"johnPertoft","description":"Tensorflow implementation of Relation Networks","archived":false,"fork":false,"pushed_at":"2018-10-05T07:20:34.000Z","size":176,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T18:23:43.813Z","etag":null,"topics":["relation-network","relation-networks","tensorflow"],"latest_commit_sha":null,"homepage":"","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/johnPertoft.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}},"created_at":"2018-08-01T14:32:45.000Z","updated_at":"2019-01-04T08:46:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"305f7c98-94e5-47dd-a510-713cf86e0f5f","html_url":"https://github.com/johnPertoft/relation-networks","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/johnPertoft%2Frelation-networks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnPertoft%2Frelation-networks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnPertoft%2Frelation-networks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnPertoft%2Frelation-networks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnPertoft","download_url":"https://codeload.github.com/johnPertoft/relation-networks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127702,"owners_count":19752043,"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":["relation-network","relation-networks","tensorflow"],"created_at":"2025-01-02T18:21:49.212Z","updated_at":"2026-05-17T09:32:29.259Z","avatar_url":"https://github.com/johnPertoft.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relation Networks\nThis is a Tensorflow implementation of \n[A simple neural network module for relational reasoning](https://arxiv.org/abs/1706.01427).\nCurrently only the simple *Sort-of-CLEVR* dataset (described in paper) is implemented. \nThis dataset simplifies the problem by considering a smaller space of questions that can\nbe encoded as binary strings and thus bypassing the need for a model to parse \nnatural language but still retaining the need for relational reasoning.\n\n## Sort-of-CLEVR\n```bash\n$ python -m rn.data.sort_of_clevr.inspect\n```\n\n![soft-of-clevr-sample](pics/sort-of-clevr-sample.png)\n\n## Training\n```bash\n$ python -m rn.train\n```\n\n## Results\n```bash\n$ python -m rn.predict --checkpoint path/to/checkpoint [--only-misclassifications] [--seed xxx]\n```\n\n![sort-of-clevr-prediction-sample](pics/sort-of-clevr-prediction-sample.png)\n\nTODO: Show accuracy and loss curves.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpertoft%2Frelation-networks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpertoft%2Frelation-networks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpertoft%2Frelation-networks/lists"}